shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 303 forks source link

No radio streaming #594

Closed falent closed 6 years ago

falent commented 6 years ago

I have read documentation but I still dont understand how I can start radio. I tried "hey goole, play radio", "hey google trigger radio" but no reaction at all ;(

Is it a bug right now or Im doing something wrong

Logs: ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play radio 2"} ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play radio 2"} http://stream.radiocorp.nl/100pnl_feest_mp3 ERROR:main:'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 666, in Myassistant().main() File "/home/pi/GassistPi/src/main.py", line 528, in main radio(str(usrcmd).lower()) File "/home/pi/GassistPi/src/actions.py", line 274, in radio say("Tuning into " + conv) File "/home/pi/GassistPi/src/actions.py", line 219, in say newword=trans(words,language) File "/home/pi/GassistPi/src/actions.py", line 210, in trans transword= translator.translate(words, dest=lang) File "/home/pi/env/lib/python3.5/site-packages/googletrans/client.py", line 172, in translate data = self._translate(text, dest, src) File "/home/pi/env/lib/python3.5/site-packages/googletrans/client.py", line 75, in _translate token = self.token_acquirer.do(text) File "/home/pi/env/lib/python3.5/site-packages/googletrans/gtoken.py", line 180, in do self._update() File "/home/pi/env/lib/python3.5/site-packages/googletrans/gtoken.py", line 59, in _update code = unicode(self.RE_TKK.search(r.text).group(1)).replace('var ', '') AttributeError: 'NoneType' object has no attribute 'group'

shivasiddharth commented 6 years ago

Duplicate of #534 . Sticking to issue template would have automatically guided you there.