comparison vixm/player.py @ 30:860c891de6bb master

Remove lots of xmms-related code & get ready to make the whole program a standalone player
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Fri, 03 Nov 2006 22:49:09 -0500
parents
children f97eb9f0c207
comparison
equal deleted inserted replaced
27:e40bdeee5e14 30:860c891de6bb
1 import time
2 from threading import Thread
3
4 class playerThread(Thread):
5 def __init__(self, lists):
6 Thread.__init__(self)
7
8 self.shutdown = False
9
10 self.lists = lists
11
12 def run(self):
13 while not self.shutdown:
14 time.sleep(0.5)
15