comparison vixm/playlist.py @ 8:79340745c952

Reimplemented enqueuing & quit properly, implemented list and number commands
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sat, 19 Aug 2006 19:41:06 -0400
parents dd00b69169c6
children eaa800169f5b
comparison
equal deleted inserted replaced
7:f87b969fa973 8:79340745c952
24 24
25 def __getitem__(self, i): 25 def __getitem__(self, i):
26 """ Get item at position i """ 26 """ Get item at position i """
27 return self.__list[i] 27 return self.__list[i]
28 28
29 def __len__(self):
30 """ Return the length of the playlist """
31 return len(self.__list)
32