sticker/Match: add operator "EQUALS"

Mapped to "=" in the MPD protocol.  This is the first operator,
initially supporting value matches in the MPD protocol.
This commit is contained in:
Max Kellermann
2014-12-12 22:12:19 +01:00
parent fed44e95b3
commit cc143105b8
5 changed files with 52 additions and 3 deletions

View File

@@ -2138,6 +2138,25 @@ OK
</para>
</listitem>
</varlistentry>
<varlistentry id="command_sticker_find_equals">
<term>
<cmdsynopsis>
<command>sticker</command>
<arg choice="plain">find</arg>
<arg choice="req"><replaceable>TYPE</replaceable></arg>
<arg choice="req"><replaceable>URI</replaceable></arg>
<arg choice="req"><replaceable>NAME</replaceable></arg>
<arg choice="plain">=</arg>
<arg choice="req"><replaceable>VALUE</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
Searches for stickers with the given value.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>