changeset 41:f56aeafb05b1 pure

Display proper position in the default list
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 05 Nov 2006 02:43:57 -0500
parents 06b5a7db3d19
children bc6db55448e1
files vixm/control.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vixm/control.py	Sat Nov 04 23:11:49 2006 -0500
+++ b/vixm/control.py	Sun Nov 05 02:43:57 2006 -0500
@@ -164,7 +164,7 @@
 		return
 
 	current_time = 0
-	pos = 0
+	pos = ui.lists[playlist.LIST_DEFAULT].index(current)
 	print "%d. %s (%s/%s)" % (pos+1, str(current),
 			util.strtime(current_time),
 			util.strtime(current["time"]))