mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-29 22:23: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.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...")
|
||||||
|
Loading…
Reference in New Issue
Block a user