mopidy / mopidy-gmusic

DEPRECATED (Mopidy extension for playing music from Google Play Music)
https://mopidy.com
Apache License 2.0
214 stars 60 forks source link

device id without android phone ? #205

Closed giann closed 5 years ago

giann commented 5 years ago

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 ?

adnidor commented 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

giann commented 5 years ago

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.

mbrownnycnyc commented 5 years ago

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.

belak commented 5 years ago

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.