mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
#33: Implemented exception on audio links that don't play.
This commit is contained in:
parent
e2771023da
commit
8eb6d0c4cb
@ -426,7 +426,10 @@ class baseBufferController(bufferController):
|
|||||||
url=urls_list.get_string()
|
url=urls_list.get_string()
|
||||||
if hasattr(urls_list, "destroy"): urls_list.destroy()
|
if hasattr(urls_list, "destroy"): urls_list.destroy()
|
||||||
if url != '':
|
if url != '':
|
||||||
sound.URLPlayer.play(url, self.session.settings["sound"]["volume"])
|
try:
|
||||||
|
sound.URLPlayer.play(url, self.session.settings["sound"]["volume"])
|
||||||
|
except:
|
||||||
|
self.url(url=url)
|
||||||
@_tweets_exist
|
@_tweets_exist
|
||||||
def interact(self):
|
def interact(self):
|
||||||
"Select the best action for the currently focused tweet (audio, geocode, URL, etc)."
|
"Select the best action for the currently focused tweet (audio, geocode, URL, etc)."
|
||||||
|
Loading…
Reference in New Issue
Block a user