Mserv filter syntax chart

Filter syntax, as gleaned from mserv/filter.c.

Logic:

! ( ) & |

Ratings:

superb, good, neutral, bad, awful

Strings:

user=rating — matches if user has rated track this rating

user=heard — matches if user has heard this track

user=rated — matches if user has rated this track

genre=key — matches if track has genre key

search=key — matches if key is in track author or name

Numbers:

< <= > >= = ==

year duration lastplay album track

Booleans:

rating — matches if someone has rated track this

played — matches if track has been played before

heard — matches if someone has heard track

rated — matches if someone has rated track

Mserv home:

http://www.mserv.org/