aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-24 08:08:52 +0200
committerMax Kellermann <max@duempel.org>2014-04-24 08:20:38 +0200
commitb4db28fed2a2cf2ee23a239d7180718fcbde8671 (patch)
tree767e1daaafe09a5d43b88c040f1116589cf972bc /doc/protocol.xml
parentc9aec3e8666628c87b55657ae506a1bd4d27859d (diff)
downloadmpd-b4db28fed2a2cf2ee23a239d7180718fcbde8671.tar.gz
mpd-b4db28fed2a2cf2ee23a239d7180718fcbde8671.tar.xz
mpd-b4db28fed2a2cf2ee23a239d7180718fcbde8671.zip
doc/protocol.xml: update and fix command "list"
Diffstat (limited to '')
-rw-r--r--doc/protocol.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 1c7e928b1..fd20f9751 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -1550,27 +1550,32 @@ OK
</para>
</listitem>
</varlistentry>
+
<varlistentry id="command_list">
<term>
<cmdsynopsis>
<command>list</command>
<arg choice="req"><replaceable>TYPE</replaceable></arg>
- <arg><replaceable>ARTIST</replaceable></arg>
+ <arg choice="opt"><replaceable>FILTERTYPE</replaceable></arg>
+ <arg choice="opt"><replaceable>FILTERWHAT</replaceable></arg>
+ <arg choice="opt"><replaceable>...</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
- Lists all tags of the specified type.
+ Lists unique tags values of the specified type.
<varname>TYPE</varname> can be any tag supported by MPD or
<parameter>file</parameter>.
</para>
<para>
- <varname>ARTIST</varname> is an optional parameter when
- type is album, this specifies to list albums by an
- artist.
+ Additional arguments may specify a filter like the one
+ in the <link
+ linkend="command_find"><command>find</command>
+ command</link>.
</para>
</listitem>
</varlistentry>
+
<varlistentry id="command_listall">
<term>
<cmdsynopsis>