I call this, but nothing happens and the logs are clean. The player just stays turned off.
This is my first custom component install, so I feel like I might’ve botched the installation or something. Does the Music Player require anything else to be installed?
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.