PlasmaPower / rhythmbox-ampache

Automatically exported from code.google.com/p/rhythmbox-ampache
0 stars 0 forks source link

Playlist loading fail. #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch rhythmbox
2. Configure it with owncloud ampache server
3. Click on ampache

What is the expected output? What do you see instead?
I must see the songs else i get error
Playlists response size: 0\nCheck ampache server logs for cause.

What version of the product are you using? On what operating system?
rhythmbox 2.98-3
rhythmbox-ampache-svn 36-2

Please provide any additional information below.

Patch this (file AmpacheBrowser.py)

- if len(contents) <= 0:
+ if len(contents) < 0:
                                edlg = Gtk.MessageDialog(
                                        None,
                                        0,
                                        Gtk.MessageType.ERROR,
                                        Gtk.ButtonsType.OK,
                                        _("Playlists response size: 0\nCheck ampache server logs for cause."))
                                edlg.run()
                                edlg.destroy()
                                self.__activate = False

Original issue reported on code.google.com by nerzhultheking on 8 Nov 2012 at 9:19

GoogleCodeExporter commented 9 years ago
I don't really see how this patch could help.
By accepting an empty handshake you receive neither the auth token nor the 
information about the number of songs.

Can you describe what the effects of your change are?

Original comment by lotan...@gmx.de on 26 Jan 2013 at 9:22