Sixthhokage2 / remuco

Automatically exported from code.google.com/p/remuco
1 stars 1 forks source link

Search jammes the playlists #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is your environment?
* OS:
Nokia Symbian s60 2nd edition 400.34.011
* Remuco version:
0.09
* Client device:
Nokia E51
* Player:
MPD

What steps will reproduce the problem?
1. Start Remuco and connect to MPD
2. Make search
3. Press Cancel and try to browse other files

What is the expected behavior? What happens instead?
The search ought to find something, but it doesn't so I press cancel. Then it 
stays with the "Updating" status while trying to browse files.

Additional information:
Otherwise works perfectly. Only search gets the whole file system jammed. 
Though I can still control the playing.

Original issue reported on code.google.com by oskari.p...@gmail.com on 22 Jul 2010 at 8:21

GoogleCodeExporter commented 9 years ago
Any interesting in ~/.cache/remuco/mpd.log? You might want to enable DEBUG log 
(see http://code.google.com/p/remuco/wiki/GettingStarted#Configuration).

Original comment by obensonne@googlemail.com on 28 Jul 2010 at 7:44

GoogleCodeExporter commented 9 years ago
Actually i decided to run remuco in terminal while searching and it printed 
this:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/remuco/net.py", line 254, in __io_recv
    self.__msg_handler_fn(self, msg_id, msg_data)
  File "/usr/local/lib/python2.6/dist-packages/remuco/adapter.py", line 1266, in __handle_message
    self.__handle_message_request(client, id, bindata)
  File "/usr/local/lib/python2.6/dist-packages/remuco/adapter.py", line 1422, in __handle_message_request
    self.request_search(reply, request.path)
  File "/usr/local/bin/remuco-mpd", line 380, in request_search
    reply.ids, reply.names = self.__songs_to_item_list(result.values(), True)
  File "/usr/local/bin/remuco-mpd", line 535, in __songs_to_item_list
    songs = sorted(songs, key=skey)
  File "/usr/local/bin/remuco-mpd", line 531, in skey
    disc = int(song.get("disc", "0"))
ValueError: invalid literal for int() with base 10: '1/1'

Original comment by oskari.p...@gmail.com on 4 Aug 2010 at 8:40

GoogleCodeExporter commented 9 years ago
That helped. I'll work on this ASAP. You can easily fix this for now by editing 
/usr/local/bin/remuco-mpd and changing line 52 from

  disc = int(song.get("disc", "0"))

to

  disc = 0

This will provide incorrect disc number values but I guess you can live with 
that.

Original comment by obensonne@googlemail.com on 4 Aug 2010 at 10:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision c5c2b77d65.

Original comment by obensonne@googlemail.com on 2 Oct 2010 at 9:27