mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Add delete flag to method call in interact, so we can stop an audio stream and play another.
This commit is contained in:
parent
1d1c07caca
commit
1b4ebebf25
@ -449,7 +449,7 @@ class baseBufferController(bufferController):
|
||||
if hasattr(urls_list, "destroy"): urls_list.destroy()
|
||||
if url != None:
|
||||
if hasattr(sound.URLPlayer,'stream'):
|
||||
return sound.URLPlayer.stop_audio()
|
||||
return sound.URLPlayer.stop_audio(delete=True)
|
||||
output.speak("Opening media...",True)
|
||||
if sound.URLPlayer.is_playable(url=url,play=True) == False:
|
||||
print "Opening",url,"in browser..."
|
||||
|
Loading…
Reference in New Issue
Block a user