diff 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
line wrap: on
line diff
--- a/vixm/playlist.py	Sat Aug 19 17:23:15 2006 -0400
+++ b/vixm/playlist.py	Sat Aug 19 19:41:06 2006 -0400
@@ -26,3 +26,7 @@
 		""" Get item at position i """
 		return self.__list[i]
 
+	def __len__(self):
+		""" Return the length of the playlist """
+		return len(self.__list)
+