song/PrioritySongFilter: new filter

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1412
This commit is contained in:
Max Kellermann
2022-02-14 13:35:08 +01:00
parent c68dbc4e5c
commit 2172aaf1ce
8 changed files with 114 additions and 0 deletions

View File

@@ -220,6 +220,9 @@ of:
matches the audio format with the given mask (i.e. one
or more attributes may be ``*``).
- ``(priority >= 42)``:
compares the priority of queued songs.
- ``(!EXPRESSION)``: negate an expression. Note that each expression
must be enclosed in parentheses, e.g. :code:`(!(artist == 'VALUE'))`
(which is equivalent to :code:`(artist != 'VALUE')`)