view vixm/song.py @ 9:eaa800169f5b v0.10

Hooked up the playlists to control xmms! Also added help string to all the commands, and added a stub for help command
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sat, 19 Aug 2006 20:02:59 -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)