doc/protocol: update descriptions of the searching commands
This commit is contained in:

committed by
Max Kellermann

parent
917434269c
commit
bc87ec0059
@@ -1214,16 +1214,18 @@ OK
|
|||||||
<command>find</command>
|
<command>find</command>
|
||||||
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
||||||
|
<arg choice="opt"><replaceable>...</replaceable></arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Finds songs in the db that are exactly
|
Finds songs in the db that are exactly
|
||||||
<varname>WHAT</varname>. <varname>TYPE</varname> should
|
<varname>WHAT</varname>. <varname>TYPE</varname> can
|
||||||
be <parameter>album</parameter>,
|
be any tag supported by MPD, or one of the two special
|
||||||
<parameter>artist</parameter>, or
|
parameters — <parameter>file</parameter> to search by
|
||||||
<parameter>title</parameter>. <varname>WHAT</varname>
|
full path (relative to database root), and
|
||||||
is what to find.
|
<parameter>any</parameter> to match against all
|
||||||
|
available tags. <varname>WHAT</varname> is what to find.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -1233,14 +1235,14 @@ OK
|
|||||||
<command>findadd</command>
|
<command>findadd</command>
|
||||||
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
||||||
|
<arg choice="opt"><replaceable>...</replaceable></arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Finds songs in the db that are exactly
|
Finds songs in the db that are exactly
|
||||||
<varname>WHAT</varname> and adds them to current playlist.
|
<varname>WHAT</varname> and adds them to current playlist.
|
||||||
<varname>TYPE</varname> can be any tag supported by MPD.
|
Parameters have the same meaning as for <command>find</command>.
|
||||||
<varname>WHAT</varname> is what to find.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@@ -1255,7 +1257,8 @@ OK
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Lists all tags of the specified type.
|
Lists all tags of the specified type.
|
||||||
<varname>TYPE</varname> should be album or artist.
|
<varname>TYPE</varname> can be any tag supported by MPD or
|
||||||
|
<parameter>file</parameter>.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
<varname>ARTIST</varname> is an optional parameter when
|
<varname>ARTIST</varname> is an optional parameter when
|
||||||
@@ -1318,17 +1321,15 @@ OK
|
|||||||
<command>search</command>
|
<command>search</command>
|
||||||
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
<arg choice="req"><replaceable>TYPE</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
<arg choice="req"><replaceable>WHAT</replaceable></arg>
|
||||||
|
<arg choice="opt"><replaceable>...</replaceable></arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Searches for any song that contains
|
Searches for any song that contains
|
||||||
<varname>WHAT</varname>. <varname>TYPE</varname> can be
|
<varname>WHAT</varname>. Parameters have the same meaning
|
||||||
<parameter>title</parameter>,
|
as for <command>find</command>, except that search is not
|
||||||
<parameter>artist</parameter>,
|
case sensitive.
|
||||||
<parameter>album</parameter> or
|
|
||||||
<parameter>filename</parameter>. Search is not case
|
|
||||||
sensitive.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Reference in New Issue
Block a user