darkfeline / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
0 stars 0 forks source link

Cantata disconnects on 'Folder View' #582

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of Cantata?
1.5.1

Which build? KDE, Qt4, Qt5, Windows, Ubuntu, Mac?
Ubuntu Utopic

What steps will reproduce the problem?
1. Connect to server (HAL9000 ;-)) via network (not local)
2. Enable 'folder view' 
3. Play Queue, Artists, Albums view work as expected, but when clicking on 
Folder view "Failed to send command to "HAL9000" (HAL9000:6600) - not 
connected" is shown. When proceeding to click on Queue, Artists or Albums view, 
reconnecting becomes possible.

What is the expected output? What do you see instead?
I would expect to see the (music) folder, but Canata disconnects instead.

Please provide any additional information below.
In GMPC, the equivalent view (Database -> Directories) works without issues

Original issue reported on code.google.com by warner.v...@gmail.com on 1 Nov 2014 at 3:14

GoogleCodeExporter commented 9 years ago
Works fine for me - connecting to a remote MPD v0.18

I guess you have a large collection? Cantata uses the 'listall' command to 
retrieve all directories/files in the folders view. It has been reported that 
this can fail with newer MPDs.

For the artist/albums view, Cantata will use 'listallinfo' - this lists all 
songs with meta-data. This can also fail, and if it does Cantata fallsback to 
calling 'lsinfo' recursively for all folders.

There is no fallback for 'listall' failing.

Original comment by craig.p....@gmail.com on 1 Nov 2014 at 3:31

GoogleCodeExporter commented 9 years ago
Thanks a lot for your quick reply.

I'm using MPD v0.18.7.

Yes, it's not a small collection - but the folders arequite few.. (guess this 
doesn't matter). 

Any workaround you can think of? Any idea why does this works fine with GMPC / 
MPDroid android app?

Original comment by warner.v...@gmail.com on 1 Nov 2014 at 3:37

GoogleCodeExporter commented 9 years ago
ok, too quick.. I'm trying the workaround (max_output_buffer_size) first..

Original comment by warner.v...@gmail.com on 1 Nov 2014 at 3:39

GoogleCodeExporter commented 9 years ago
GMPC and MPDroid do not use 'listall' As noted in #475 the folders view is not 
one of the main views - I personally never use it. If you tags are correct, 
then it is pointless. Hence, whyI have not put much effort into replacing the 
listall usage.

Original comment by craig.p....@gmail.com on 1 Nov 2014 at 3:41