From 1b4ebebf2555d04197a110ee863cb5502b7cd854 Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Wed, 13 May 2015 21:35:33 -0400 Subject: [PATCH] Add delete flag to method call in interact, so we can stop an audio stream and play another. --- src/controller/buffersController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index af82185b..428fd5b5 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -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..."