comparison vixm/song.py @ 21:dfcf1a46fc56 v0.20

Added GPLv2 file & copyright headers
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 20 Aug 2006 12:30:19 -0400
parents ae3451bedeb6
children 860c891de6bb
comparison
equal deleted inserted replaced
20:f39963e96ca1 21:dfcf1a46fc56
1 # song.py - song class
2 #
3 # Copyright (C) 2006 Josef "Jeff" Sipek <jeffpc@josefsipek.net>
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 2 as
7 # published by the Free Software Foundation.
8
1 import xmms 9 import xmms
2 10
3 class song(dict): 11 class song(dict):
4 def __init__(self, pos): 12 def __init__(self, pos):
5 self["file"] = xmms.control.get_playlist_file(pos) 13 self["file"] = xmms.control.get_playlist_file(pos)