mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-21 07:16:07 -04:00
Removed some code
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user