gpymusic
gpymusic copied to clipboard
Login failed on 'gpymusic-get-dev-id'
I've tried running gpymusic-get-dev-id so that I can start using gpymusic. However, after entering my details, I always get the message "Login failed, verify your email and password." I am sure that I have entered my email and password correctly, and I have tested it numerous times in a browser, where it consistently works, and in the terminal, where it does not.
My email address contains several full-stops - I don't know whether that could be an issue. The password is not hugely long (<15 chars; I know the API has issues with very long passwords).
I am running Python 3.5.3 (python3) on Debian 9.
Any idea how I can debug this?
Can you try this in a REPL for me?
>>> from gmusicapi import Mobileclient
>>> m = Mobileclient()
>>> m.login(email, password, m.FROM_MAC_ADDRESS)
bump?
Same here btw. And result of those code is 'False'
Arch, python 3.6.2.
Okay, so this is definitely on gmusicapi's end then. Can you try creating an app password and using that?
Answered to you via email.
I don't see why my answers shouldn't be public for others to benefit from.
There is information about creating and using app passwords here.
Sorry. I did it 'couse of notifications about new mail on my phone's screen. I'm not a frequent visitor here. I followed your link and Google told me, that this setting is unavailable for my account. Can I provide you any other debug info?
Is your account managed by any organization or is it a personal one? @astewartau that's a question for you too as it may be related.
Personal.
Hm, that's really weird. I've opened https://github.com/simon-weber/gmusicapi/issues/584, maybe we can find some answers there.
As it's said "App passwords are enabled only if you use 2-step verification". I don't use it.
Ah that makes sense. If you're interested in changing your password and trying to log in with the new one feel free, but otherwise don't worry about it (that's quite a bit of hassle).
Same here
I submitted a PR that uses oauth for loggin and should remove this issuse once for all https://github.com/christopher-dG/gpymusic/pull/50