aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-24 10:20:24 +0200
committerMax Kellermann <max@duempel.org>2014-04-24 11:38:49 +0200
commitae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49 (patch)
treefd96f595113e5044be4cf4b18f17c3a1fdbf3ff9 /doc
parent22206512539aa9a888fdba68d60324c560389d5d (diff)
downloadmpd-ae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49.tar.gz
mpd-ae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49.tar.xz
mpd-ae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49.zip
DatabaseCommands: "list" allows grouping
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index b67efd69b..e1fb08a84 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -1559,6 +1559,9 @@ OK
<arg choice="opt"><replaceable>FILTERTYPE</replaceable></arg>
<arg choice="opt"><replaceable>FILTERWHAT</replaceable></arg>
<arg choice="opt"><replaceable>...</replaceable></arg>
+ <arg choice="opt">group</arg>
+ <arg choice="opt"><replaceable>GROUPTYPE</replaceable></arg>
+ <arg choice="opt"><replaceable>...</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
@@ -1573,6 +1576,13 @@ OK
linkend="command_find"><command>find</command>
command</link>.
</para>
+ <para>
+ The <parameter>group</parameter> keyword may be used
+ (repeatedly) to group the results by one or more tags.
+ The following example lists all album names,
+ grouped by their respective (album) artist:
+ </para>
+ <programlisting>list album group albumartist</programlisting>
</listitem>
</varlistentry>