TheStalwart / Theremin

Undead Mac OS X MPD Client.
169 stars 25 forks source link

Make search work with Mopidy #17

Open djanowski opened 10 years ago

djanowski commented 10 years ago

Hi,

Mopidy is a music server which can play from various sources. In my case I'm using it to stream Spotify at the office. It has different frontends, like MPD.

For some reason, not all MPD clients' search feature work with Mopidy (at least, not all of them cause Mopidy to search on Spotify). For instance, ncmpcpp works, while Theremin does not.

I've never done any OSX development so it's hard for me to test, but I'm sure this is an easy fix. It could be that the MPD search command is different, or the quoting is not right, or something like that.

Anyone interested in looking into it?

jodal commented 9 years ago

I tried running Mopidy 0.19.5 in verbose mode and do a search from the main Theremin window and from the Library window. In none of the cases I could see any search commands being sent to the server. I suspect Theremin relies on fetching the full music database to the client and do all searches entirely locally.

Of course, this is completely incompatible with the Spotify music catalog's 30 million tracks, and the MPD protocol commands making this possible (like listallinfo) is also deprecated by the original MPD server.