mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Delete audio stream after successful playback.
This commit is contained in:
parent
6250e16cfe
commit
f0e1f74d03
@ -131,7 +131,7 @@ class URLStream(object):
|
||||
self.stream.volume = float(volume)
|
||||
self.stream.play()
|
||||
log.debug("played")
|
||||
|
||||
del self.stream
|
||||
def is_playable(self, url,play=False,volume=1.0):
|
||||
try:
|
||||
log.debug("Checking URL playability...")
|
||||
|
Loading…
Reference in New Issue
Block a user