Sorry your having such a hard time with this. I canāt figure out why there is no error messages. Have you tried viewing the logs directly? I mean look at the actual log file itself. I think looking at the log from HA, you will only see a message if something actually triggers an error. Iām just wondering if there might be some logging going on that for whatever reason is just not being treated like an error (which means you donāt see it in HA)
And this is my first custom component. And itās really more of a hack and expand job on the original gmusic_switch. There are some people using this with no issue but itās still just as possible that your problem is caused by my lack of real programming skills. Gmusic Player can also stream from a locally running gmusicproxy but that is a workaround for skipping tracks. gproxy should not be required for the music player to function.
If youāre just troubleshooting, you can give Chromecast Radio a try. Itās basically the same thing, just different ā Seriously it uses to same methods to start playback on a device, itās just playing web radio-streams. I donāt really know anything about the stream (if there restricted to certain areas) but I grabbed the first one from the list.
Might even be able to just try a one off example to check on Kodi.
Sorry Iām still running HA old school in a virtualenv. I donāt have anything docker or hassio related so I canāt say forsure but I think this just needs hassio. Plus I thought hassio is always docker. Just the OS running docker can changes ( Ubuntu , hassOS ā¦ )
Maybe at @miikkajo can offer some advice on your docker question
No, sorry that is something still over my skill level. I havenāt had the time to put into learning python as I had hoped. Iām still very much a beginner
I used this, my appdaemon version and the original gmusic switch all at the same time without any issues. Now in my case, I was logged in to the same account, 3 times at once using the exact same login and device id. The only restriction that always applies was that I could only stream music from one login at a time.
So I think that proves you could have multiple gmusic_players installed as you stated, they would need different name. In you case because of seperate logins I think it could work and you can both play music at once
I installed it yesterday, I had to put my players inside quotes for it to pick them up, is picks up the name of the Playlist that I have on Google Play Music but it does not play, it just makes to Google home speaker sound and switch off, the one that works is the station and only āIām feeling lucky stationā it does not pick up the other stations I downloaded to library. On Playlist it does not show the Playlist cover and it does not play, on station it shows and plays a song from Iām feeling lucky station, I also want to know if I can play this via an automation.
Make sure your using an android device id. It should be something shorter like this.
device_id: "21150e2000000456"
It is strange the stations works but not playlist, Iāve never seen that before. But why only one station? I know that āIām feeling luckyā shows up because I add that from gmusic player itself.
You say you downloaded stations to your library ā Do you mean added them to your library? ā For example from the Google Music website ā you need to add stations to your library or they will not show up in gmusic player.
Short answer is yes ā but Iām sorry I donāt have a copy paste example I can provide to you.
Basically you just set the input select to the speakers you want see post here for an example
and the post just below is how someone set the speakers using Node-RED.
Once the speaker are set you can use the medai_player service to control like you control any other service from an automation. ( The first post has media_player services and how they work in gmusic_player ) but the main thing to start playing a certain playlist or station is this.
Thanks, how do I make the play ists play, the stations play but the songs advance faster, I am busy setting up gmusicproxy, so in summary here are my issues:
1.playlists not playing,
2. Which url to use for gmusic proxy, currently using the hassio one but this has stopped even the stations from playing, see attatched yaml
Seems the gmusicproxy has had the negative effect, the stations no longer play, but after removing it, they play again, but advance before the song ends, I also still have the issue with play lists
yes you are on the right path ā gmusicproxy is the only solution to stop songs from advancing to fast.
Your yaml looks correct to me. Iām sorry I do not use anything docker or hassio related so I can not be of much help here. ( I run Home Assistant Core on FreeNAS )
Are there any errors produced in the Home Assistant log when you try to play a song from a playlist.
That should not be the case. Gmusicproxy is itās own thing, Can you test that it works stand alone? Are you using @miikkajo addon for gmusicproxy? There are other people using this as well. I am not aware of any breaking changes between miikkajo addon and this gmusic player.
getting the gmusicproxy to work outside gmusic player is a seperate thing. Solving that is needed to fix song advance but I donāt think gmusicproxy will solve the playlist issue.
Well that seems like there are no songs in the playlistā¦
Can you go to the Google music web page and make a new playlist with exactly 3 songs and then restart Home Assistant ā Does the new playlist show up ā Can you play any of the songs in the new playlist?
I see there are other things I must do to activate/authorise gmusicproxy, in terms of Playlist I created a new one with three songs, still get same errors, I might have to reinstall everything it seems