Added youtube support. Closes #94

This commit is contained in:
2018-02-20 11:47:33 -06:00
parent 5ff5a4a6d2
commit 0e41fabbe6
6 changed files with 38 additions and 80 deletions

View File

@@ -504,13 +504,13 @@ class Controller(object):
def seekLeft(self, *args, **kwargs):
try:
sound.URLPlayer.seek(-5)
sound.URLPlayer.seek(-5000)
except:
output.speak("Unable to seek.",True)
def seekRight(self, *args, **kwargs):
try:
sound.URLPlayer.seek(5)
sound.URLPlayer.seek(5000)
except:
output.speak("Unable to seek.",True)