shivasiddharth / GassistPi

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

Google Play Music - Pays one track and then stops #138

Closed ifb777 closed 6 years ago

ifb777 commented 6 years ago

Ok so it's time to consult the collective wisdom of this list.

I have Google Music responding to the "Play All Songs and Play from the First Playlist" commands but in both cases only one track is played and then silence. I get no response from "Play songs by Artist or Play songs from Album" commands other than a Voice acknowledgement. I can't find a log file for this activity and as I am not a coder, simply a user interested enough to try and get these features working as intended I am asking for any input that might help make this stuff work.

I look forward to your comments TIA

shivasiddharth commented 6 years ago

I fixed the track changing error couple of days back (https://github.com/shivasiddharth/GassistPi/commit/47f2250e15c5fc07aa319414a7972b9729bcb415)

There was a typo in the end.lua file. Replace the end.lua file from /home/pi/.config/mpv/scripts directory, with this: https://github.com/shivasiddharth/GassistPi/blob/master/src/end.lua

.config is a hidden folder, right click on the pi folders window and choose the option to show hidden files to be able to see the .config folder.

Failure to play songs by Artist or Album could be due to GA not deciphering the names properly.

ifb777 commented 6 years ago

Hi there Thanks for the prompt response and for the advice. I'll give this a go and report back.

ifb777 commented 6 years ago

Hi there again The changes to end.lua file (mine was empty) fixed the "Play All and Play from Playlist issue so thanks a lot for that. The play artist and play album issue remains unresolved at this stage. Not a game changer my project but I will look into this in more detail soon. I do notice however that I get a Voice comment before I finish the "Play songs from" command.

I will close this issue as resolved for now

Many thanks again for your great work on this