nvbn / rhythmbox-gmusic

Rhythmbox Google Play Music Plugin
86 stars 20 forks source link

Unable to login #38

Open boxman0617 opened 10 years ago

boxman0617 commented 10 years ago

Plugin shows up on the Plugins section and I can enable it. Once I add my username and password, and I click "Ok" it does nothing...

Rleahy22 commented 10 years ago

+1

alexfigueiredo commented 10 years ago

+1

Nxt3 commented 10 years ago

Same. If it helps, I have two-step authentication enabled on my Google account.

slifin commented 10 years ago

+1 also have two step authentication

Generating a application specific password for rhythm box does not appear to help

Updated with trace back:

Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 295, in auth self.init_authenticated() File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 320, in init_authenticated playlists = api.get_all_playlist_ids() File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/webclient.py", line 390, in get_all_playlist_ids res = self._make_call(webclient.GetPlaylistSongs, 'all') File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/shared.py", line 80, in _make_call return protocol.perform(self.session, self.validate, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py", line 225, in perform raise CallFailure(err_msg, call_name) gmusicapi.exceptions.CallFailure: GetPlaylistSongs: 404 Client Error: Not Found (requests kwargs: {'url': 'https://play.google.com/music/services/loadplaylist', 'headers': {'Authorization': ''}, 'data': {'json': '{}'}, 'method': 'POST', 'params': {'u': 0, 'xt': 'CjUKATASMEFNLVdiWGhjUlZrMHh0ajNLbnFPN0ZiNU81OGVPM1VOdWc6MTM5OTIwNzQzODg4MA=='}})

I would assume part of google's API has changed because of the 404?

https://play.google.com/music/services/loadalltracks also appears to 404

immartian commented 10 years ago

same here

Successfully logged in.

Loading library... Traceback (most recent call last): File "gm.py", line 66, in demonstration() File "gm.py", line 42, in demonstration library = api.get_all_songs() File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/webclient.py", line 312, in get_all_songs to_return = [song for chunk in to_return for song in chunk] File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/webclient.py", line 324, in _get_all_songs lib_chunk['continuationToken']) File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/shared.py", line 80, in _make_call return protocol.perform(self.session, self.validate, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py", line 225, in perform raise CallFailure(err_msg, call_name) gmusicapi.exceptions.CallFailure: GetLibrarySongs: 404 Client Error: Not Found (requests kwargs: {'url': 'https://play.google.com/music/services/loadalltracks', 'headers': {'Authorization': ''}, 'data': {'json': '{}'}, 'method': 'POST', 'params': {'u': 0, 'xt': 'CjUKATASMEFNLVdiWGhsSGZrUHltSkdZN2JKTW10b2d5WWEzVnlnZUE6MTQwMTI4ODYwNDE2MA=='}})

samhed commented 8 years ago

I'm having the same problem. I know this was more than 2 years ago, but did any of you manage to find a solution?

samhed commented 8 years ago

An app-specific password worked for me!