when comparing the different commands from https://musicpd.org/doc/protocol/queue.html and https://musicpd.org/doc/protocol/database.html I was a bit surprised that "playlistfind" allows only to specify a single (tag, value) pair, while "find" allows to specify a number of different (tag, value) pairs, which seems rather inconsistent. So I tried to use "playlistfind" with multiple (tag, value) pairs, which works as expected, although it's not documented in the protocol specification. Furthermore, tags such as modified-since can be used, although only tags are allowed according to the protocol specification.
My question is, is the protocol specification not up to date, or is it just some feature that may disappear in upcoming versions? To put it in another way, when implementing an MPD library, is it okay to allow the user to specify multiple (tag, value) pairs for commands like playlistfind, although it's not officially documented?
Thanks in advance.
Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...
2 posts • Page 1 of 1
When the protocol documentation was written, there were separate implementations for all of these commands, and new features had to be implemented in all of them. A few years ago, I merged all of the duplicate code, and made all commands the same. So, true, the protocol documentation is outdated.