Closed trivarialthea closed 5 years ago
What is the name of the radio that you have assigned ?
What is the name of the radio that you have assigned?
If you mean stationnames: its "radio 1" if you mean stationradio: its "Evropa 2"
"Evropa 2" is the official public name of the radio too
Fixed the radio thingy. Replace your existing actions.py with the updated file from master. For youtube can you be a bit clear. Is it not playing thew first song only or is it playing only the first song? Also can you give the syntax that you used for the youtube command.
its playing only the first song... And i used "Hey google, Play imagine dragons playlist on youtube" (for example) it said getting youtube link... played the 1st song and then it was quiet...
And with the new actions.py im getting
pro 23 16:56:15 raspberrypi python[8566]: {"text": "play Radio 1"}
pro 23 16:56:15 raspberrypi python[8566]: http://icecast3.play.cz/evropa2-128.mp
pro 23 16:56:24 raspberrypi python[8566]: Tuning into Evropa 2
pro 23 16:56:26 raspberrypi python[8566]: High Performance MPEG 1.0/2.0/2.5 Audi
pro 23 16:56:26 raspberrypi python[8566]: version 1.23.8; written and co
pro 23 16:56:26 raspberrypi python[8566]: free software (LGPL) without a
pro 23 16:56:26 raspberrypi python[8566]: Directory: /tmp/
pro 23 16:56:26 raspberrypi python[8566]: Playing MPEG stream 1 of 1: female-say
pro 23 16:56:26 raspberrypi python[8566]: MPEG 2.0 L III cbr32 24000 mono
pro 23 16:56:28 raspberrypi python[8566]: [0:01] Decoding of female-say.mp3 fini
pro 23 16:56:28 raspberrypi sudo[8921]: pi : TTY=unknown ; PWD=/home/pi ;
pro 23 16:56:28 raspberrypi sudo[8921]: pam_unix(sudo:session): session opened f
pro 23 16:56:28 raspberrypi sudo[8921]: pam_unix(sudo:session): session closed f
pro 23 16:56:28 raspberrypi sudo[8930]: pi : TTY=unknown ; PWD=/home/pi ;
pro 23 16:56:28 raspberrypi sudo[8930]: pam_unix(sudo:session): session opened f
pro 23 16:56:28 raspberrypi sudo[8930]: pam_unix(sudo:session): session closed f
pro 23 16:56:28 raspberrypi python[8566]: [0368f2e8] vlcpulse audio output error
pro 23 16:56:28 raspberrypi python[8566]: ON_CONVERSATION_TURN_FINISHED:
pro 23 16:56:28 raspberrypi python[8566]: {"with_follow_on_turn": false}
pro 23 16:56:28 raspberrypi python[8566]: ON_CONVERSATION_TURN_FINISHED:
pro 23 16:56:28 raspberrypi python[8566]: {"with_follow_on_turn": false}
pro 23 16:56:29 raspberrypi python[8566]: [036918a8] prefetch stream error: unim
And the radio does not start to play.
If you take a look at the README, under the Youtube customization, in the syntax table, it is mentioned that, it will pick a random song from the playlist and play it. https://github.com/shivasiddharth/GassistPi#adding-youtube-api-and-generating-api-key So its working as it was designed to work, i dont see a problem.
For radio, can you share the link for the radio station that you are using ?
If you take a look at the README, under the Youtube customization, in the syntax table, it is mentioned that, it will pick a random song from the playlist and play it. https://github.com/shivasiddharth/GassistPi#adding-youtube-api-and-generating-api-key So its working as it was designed to work, i dont see a problem.
For radio, can you share the link for the radio station that you are using ?
I thought it will play the whole playlist not just 1 random song from it
Can you share the full terminal errors for Radio? As you can see the errors are truncated.
From what i see the Radio station is indeed playing. It can be slow because of network related issues or the volume of the vlc player might be down.
To verify if the music volume is low , open the /home/pi/ directory, right click and choose to view hidden files after that, open the .mediavolume.json file. If you see a number like "15", try giving the command "Hey google, set music volume to maximum".
If its a network related issue, it will start playing after loading the buffer, so give it a few minutes.
It was the music volume! Sorry for being that dumb!
is there any way of playing full playlists automatically for example from Spotify or youtube?
With some minor tweaks to the existing codes, its possible to do that. As the primary issue has been resolved, closing this issue.
Board and OS details:
Describe the bug:
Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues).
Yes
2. Is the issue related to assistant installation?
No
3. Does the assistant service start normally?
Yes
4. Is the assistant service restarting automatically?
No
If the answer to question 4 is No, then proceed further.
Paste the command below, that crashed the assistant
Paste the contents of the terminal below