I’ve been using this daily in a virtualenv and also testing in hass.io.
I rewrote a few things and cleaned up some code. This version works much better!
If you were using a previous version, please replace all 3 files.
@troy Will this new component work with Hass.io? I tried the appdaemon version but my rpi3 would hang trying to build the wheel for lxml so I never got it working. I was debating the switch to hassbian or a dockerized version or even wiping and reinstalling hassio but was holding off when I saw the development of this component on github
This is the exact reason I tried to build a custom component so quickly instead.
@Underknowledge reported wheel for lxml took as long as 10 minutes to install using an older i7. He was very patient to help me get this working in the beginning on hass.io and I believe he has switched to the this new gmusic_player component for a week or two now and has not report any issues
Time for another tread in share your projects works solid and waiting for a the next updat… Wait there is one
You could consider integrating custom updater
Got it working with oauth, just had to use the gmusicapi elsewhere to grab an old device ID from a phone I dont use. Might want to include some instructions on doing so to get everything into one place and give those an option that dont want to have their google password anywhere in plain text.
On the topic of documentation, I started going through the code for the component. I am no expert in component design but I do program for a living and I was looking at how we could condense the component to not need all the extra switches and look into some of the workaround you have now for speaker changes. At the very least I want to put together a custom card and maybe the ability for various users to use their accounts so they can pull their playlists. I’ll fork and make a pull request when I have something. I am really excited about this component since it really simplifies whole home audio.
The gmusicapi itself makes me want to go and replicate the functionality the app “qcast” used to provide where people could visit a simple webpage and add songs to a playlist that was actively playing. It was great for parties