Removed some code

This commit is contained in:
2015-06-08 05:41:48 -05:00
parent 83575b14b9
commit 0e3a4372b8
5 changed files with 4 additions and 33 deletions

View File

@@ -133,6 +133,7 @@ class URLStream(object):
self.stream.play()
log.debug("played")
call_threaded(self.delete_when_done)
def is_playable(self, url,play=False,volume=1.0):
try:
log.debug("Checking URL playability...")
@@ -144,6 +145,7 @@ class URLStream(object):
return True
except:
return False
def delete_when_done(self):
while hasattr(self,'stream') and self.stream.is_playing:
pass