mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-09 14:46:06 -04:00
Delete audio stream after successful playback.
This commit is contained in:
@@ -131,7 +131,7 @@ class URLStream(object):
|
|||||||
self.stream.volume = float(volume)
|
self.stream.volume = float(volume)
|
||||||
self.stream.play()
|
self.stream.play()
|
||||||
log.debug("played")
|
log.debug("played")
|
||||||
|
del self.stream
|
||||||
def is_playable(self, url,play=False,volume=1.0):
|
def is_playable(self, url,play=False,volume=1.0):
|
||||||
try:
|
try:
|
||||||
log.debug("Checking URL playability...")
|
log.debug("Checking URL playability...")
|
||||||
|
Reference in New Issue
Block a user