This project is read-only.
1
Vote

Incomplete file list when used with Mopidy

description

I've noticed that when using Auremo 0.7.0 with mopidy, the list of files in the Filesystem section is incomplete - it doesn't actually list all the folders with music in, and has many tracks missing. Spaces and commas aren't shown properly either. Howver, it works fine with normal mpd though (Tested with Volumio, and Moode distributions for the Raspberry Pi).

Screenshot: http://i.imgur.com/fqUMQjL.png

With the latest prerelease, the Filesystem section is completely empty, and it lags for a few minutes before the playlist appears and the buttons become functional.

Screenshot: http://i.imgur.com/vsBmazw.png

Tested with Mopidy version 1.1.1, with Local-Sqlite and Spotify extensions.

comments

auremompd wrote Jan 19, 2016 at 6:12 PM

I cannot reproduce all of this on my Mopidy/Raspberry test setup, but it is probably somewhat different from yours anyway. I can pretty much tell what the problem is in the first screenshot, but I will have to verify if this is a part of the actual MPD protocol or a Mopidy-specific extension of it. While I'm not 100% opposed to supporting features that are Mopidy-specific, they need to not break MPD-proper in order to be considered. Could you please check whether other MPD clients also show the names like this, or if they work properly?

The second problem (with the beta) seems to be that Mopidy has once again changed how it handles the listallinfo command. The functionality has changed a number of times in the past and is hard to code around. However, since even the MPD devs recommend against using the command at all, I'm planning on dropping it and doing something different in future versions. However this will not appear before version 0.9.

Hobbyboy wrote Jan 20, 2016 at 9:08 PM

GMPC does show the names properly (but crashes a lot), along with ncmpcpp and Ario.

auremompd wrote Jan 23, 2016 at 9:27 PM

Apparently the database query has stopped working in Mopidy as of the 0.8 codebase because Mopidy does not properly support some timestamps. However, here's a simple workaround. Please test it:

https://dl.dropboxusercontent.com/u/45387055/auremo-bugfix-mopidy-database-support/Auremo.exe

Unfortunately the filesystem tab still doesn't look quite right. I'll work on it some more. Also, please note that new versions of Mopidy apparently blacklist the listallinfo command by default. To use Auremo, you should have this:

[mpd]
command_blacklist =

in your mopidy.conf. As I mentioned above, I'll have to drop this command completely, but that's a very large change that will appear later.

NorthGoose wrote Feb 4, 2016 at 12:38 AM

Hi, just wanted to add my two cents - we are using Mopidy on a Raspberry Pi and Auremo was the most-sensible & prettiest MPD client I could find but had the same issues getting the library to work correctly.

Using the workaround client link posted above ^ things are now working much better! Will let you know if we encounter any issues (we will be using this in our office 8 hours a day). We don't need to use the filesystem tab so it's perfect for us.

Thank you for your great work!

auremompd wrote Feb 4, 2016 at 2:25 PM

This fix, along with a fix for the filesystem tab, is now available in the beta2 release.