Searching tracks by sticker value

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...
Post Reply
Posts: 1
Joined: November 19th, 2014, 10:08 am

Searching tracks by sticker value

Post by PierreRust »


I've been studying the mpd protocol lately, and I did not find any command to search a list of tracks that have a sticker with a given value. For example if I use stickers to store rating, I don't see any way of getting the list of songs with rating 3.

Of course, I can use "sticker find" and filter the result in my client's code, but as most of my tracks have rating, this is not efficient as the command returns all the tracks with a rating sticker.

Am I missing something ? Is there any reason for not having this command in the protocol ? Maybe it's a lack of developer time or interest, in which case I might be able to help.

Thanks !
Forum team
Posts: 1139
Joined: January 15th, 2013, 3:43 pm

Re: Searching tracks by sticker value

Post by max »

No such option exist, though it would be possible to add a "value" argument to "sticker find". Patch welcome.
Forum team
Posts: 141
Joined: January 16th, 2013, 7:29 pm

Re: Searching tracks by sticker value

Post by Rasi »

If someone implements this, please add the possibility to search for things like "equals or greater as"
Post Reply