lotan / rhythmbox-ampache

Rhythmbox plugin to stream music from Ampache
GNU General Public License v2.0
21 stars 7 forks source link

Error with update in handshake #13

Closed lachlan-00 closed 7 years ago

lachlan-00 commented 7 years ago

Looking at getting back into rhythmbox using this plugin but it doesn't work after it's got an initial catalog by the looks

rhythmbox -D ampache
(13:58:01) [0x55e6781a0180] [AmpacheBrowser.update] /home/user/.local/share/rhythmbox/plugins/ampache/AmpacheBrowser.py:928: downloading handshake: https://music.server.org/server/xml.server.php?action=handshake&auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&timestamp=1499918281&user=user&version=350001
Traceback (most recent call last):
  File "/home/user/.local/share/rhythmbox/plugins/ampache/AmpacheBrowser.py", line 591, in handshake_cb
    handshake['update'][0:18],
KeyError: 'update'
lachlan-00 commented 7 years ago

i checked the xml from the link and it said invalid user/pass.

so i changed from my api key to my user and password and it all worked right away

lotan commented 7 years ago

I suppose, error handling/information should be better. Sorry for that. I'll think how to best do that.