view vixm/song.py @ 3:dd00b69169c6

Created initial ui thread code, fixed up playlist code
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sat, 12 Aug 2006 21:00:00 -0400
parents 6c5b9827b117
children ae3451bedeb6
line wrap: on
line source

import xmms

class song(dict):
	def __init__(self, pos):
		self["file"]	= xmms.control.get_playlist_file(pos)
		self["time"]	= xmms.control.get_playlist_time(pos)
		self["pos"]	= pos
		self["title"]	= xmms.control.get_playlist_title(pos)