view 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
line wrap: on
line source

import time
from threading import Thread

class playerThread(Thread):
	def __init__(self, lists):
		Thread.__init__(self)

		self.shutdown = False

		self.lists = lists

	def run(self):
		while not self.shutdown:
			time.sleep(0.5)