Mercurial > vixm
changeset 24:fa1fc0c70205
Print the current time as well as total time for track
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Mon, 21 Aug 2006 00:48:36 -0400 |
parents | 2efd6bbb1694 |
children | f77d09bc7dec |
files | vixm/control.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vixm/control.py Sun Aug 20 18:21:49 2006 -0400 +++ b/vixm/control.py Mon Aug 21 00:48:36 2006 -0400 @@ -161,6 +161,7 @@ pos = xmms.control.get_playlist_pos() current = ui.lists[playlist.LIST_DEFAULT][pos] - print "%d. %s (%s)" % (pos+1, current["title"], + print "%d. %s (%s/%s)" % (pos+1, current["title"], + util.strtime(xmms.control.get_output_time()), util.strtime(current["time"]))