Closed giann closed 5 years ago
You can try the mac device id, but that probably won't work. Still worth a shot though.
Then you could try to invent a device id that looks similar to the android device ids and see if google accepts that.
If that still doesn't work, try running gmusic in an android emulator, signing in, and using the id of the emulator in gmusic
I already tried all those options. When I use a android device id (either one i've grabbed on the internet, or of an emulator) or one of those returned by the api, I login fine but get a 403 error when playing a song.
mopidy-gmusic uses gmusicapi (a python project) as a backend to interface with google music. Therefore, you can look to related issues: https://github.com/simon-weber/gmusicapi/issues/149
Try removing the prefix '0x' from the id.
Might be a solution.
Newer versions of gmusicapi should output devices attached to the account when an invalid one is used. If you're still having issues with this, please feel free to file another issue.
I generated an App Password but I still can't login. No device id is listed just a "Failed to login" error. How do I get a device id without an android phone ?