03-30-2020, 03:53 PM
(This post was last modified: 03-30-2020, 05:01 PM by Lttlwing16.)
(03-30-2020, 03:13 PM)TheOldPresbyope Wrote: @Lttlwing16Thanks Kent,
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
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