Thank you for your donation!


Where to login Google music
#31
(03-30-2020, 03:13 PM)TheOldPresbyope Wrote: @Lttlwing16


The upmpdcli and gmusicapi code is open-source. You can post a pull request to JFDockes (Mr. Upmpdcli) to upgrade his code to use api.oauth_login() and include the extra credentials in upmpdcli.conf. Once this is committed, Tim can modify the moOde UPnP Config page and database to include those credentials too. 

Keep in mind Google has been saying for over a year that "we eventually plan to replace Google Play Music with YouTube Music." Granted, "eventually" is proving to be an elastic concept.

Like I said, I no longer use Google Play Music so I can't help test any variant of gmusicapi. I recall that when I did use it, I had trouble with device ids even with single-factor authentication.

Good luck.

Regards,
Kent
Thanks Kent,

It was a command error on my part (first time i've messed with python!) I needed to omit the <> around the device id. After issuing the correct command I now have the gmusicapi returning TRUE for my auth, login, and status. 

Next step is to see how to integrate with Moode. I've been looking over the code for upmpdcli (https://framagit.org/medoc92/upmpdcli/-/...ins/gmusic) and am wondering if I just modify the gmusic-app.py code to just pull the deviceid and session.py for the oauth_login method if it indeed will work in moode through upmpdcli.


Thanks,

David
Reply
#32
(03-30-2020, 03:13 PM)TheOldPresbyope Wrote: The upmpdcli and gmusicapi code is open-source. You can post a pull request to JFDockes (Mr. Upmpdcli) to upgrade his code to use api.oauth_login() and include the extra credentials in upmpdcli.conf. Once this is committed, Tim can modify the moOde UPnP Config page and database to include those credentials too. 

I've heard back from the dev of upmpdcli, and said " I am quite willing to fix this, but I am a bit swamped. Hopefully I'll be able to get into it in the next few days." 

So there is that. I'll continue to tinker on my machine and see if I can get some headway!
Reply
#33
(04-01-2020, 03:53 PM)Lttlwing16 Wrote:
(03-30-2020, 03:13 PM)TheOldPresbyope Wrote: The upmpdcli and gmusicapi code is open-source. You can post a pull request to JFDockes (Mr. Upmpdcli) to upgrade his code to use api.oauth_login() and include the extra credentials in upmpdcli.conf. Once this is committed, Tim can modify the moOde UPnP Config page and database to include those credentials too. 

I've heard back from the dev of upmpdcli, and said " I am quite willing to fix this, but I am a bit swamped. Hopefully I'll be able to get into it in the next few days." 

So there is that. I'll continue to tinker on my machine and see if I can get some headway!

That's great. Thanks for doing this.

Regards,
Kent
Reply


Forum Jump: