aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorgeneticdrift <geneticdrift@iotide.com>2012-06-27 09:26:05 +0200
committerMax Kellermann <max@duempel.org>2012-06-27 09:50:35 +0200
commitecec41025f35ea8957dd3b59caeb3f4dfee37821 (patch)
tree1088a939b84be50f35c4c0ce722049a86925bab0 /doc/protocol.xml
parent799843cc9703bd764425b77a1cdd231c3cd9e9ac (diff)
downloadmpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.tar.gz
mpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.tar.xz
mpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.zip
Documentation for commands searchadd, searchaddpl, and for tcp keepalive config options
Diffstat (limited to 'doc/protocol.xml')
-rw-r--r--doc/protocol.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 56ff33b1e..a054c22bd 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -1581,6 +1581,51 @@ OK
</para>
</listitem>
</varlistentry>
+ <varlistentry id="command_searchadd">
+ <term>
+ <cmdsynopsis>
+ <command>searchadd</command>
+ <arg choice="req"><replaceable>TYPE</replaceable></arg>
+ <arg choice="req"><replaceable>WHAT</replaceable></arg>
+ <arg choice="opt"><replaceable>...</replaceable></arg>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Searches for any song that contains <varname>WHAT</varname>
+ in tag <varname>TYPE</varname> and adds them to current playlist.
+ </para>
+ <para>
+ Parameters have the same meaning as for <command>find</command>,
+ except that search is not case sensitive.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry id="command_searchaddpl">
+ <term>
+ <cmdsynopsis>
+ <command>searchaddpl</command>
+ <arg choice="req"><replaceable>NAME</replaceable></arg>
+ <arg choice="req"><replaceable>TYPE</replaceable></arg>
+ <arg choice="req"><replaceable>WHAT</replaceable></arg>
+ <arg choice="opt"><replaceable>...</replaceable></arg>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Searches for any song that contains <varname>WHAT</varname>
+ in tag <varname>TYPE</varname> and adds them to the playlist
+ named <varname>NAME</varname>.
+ </para>
+ <para>
+ If a playlist by that name doesn't exist it is created.
+ </para>
+ <para>
+ Parameters have the same meaning as for <command>find</command>,
+ except that search is not case sensitive.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry id="command_update">
<term>
<cmdsynopsis>