aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-18 14:31:27 +0100
committerMax Kellermann <max@duempel.org>2014-11-18 14:31:27 +0100
commitf37481f843c3ae7aa0c43591c9c7fc4a501c1f5b (patch)
treed49da92d9bd96cf7ad9c5d7c1ebbd4d3a1cbd8d2 /doc/protocol.xml
parentc3f6502be277ea7a9eb42babc4dc44ab2abf59e2 (diff)
downloadmpd-f37481f843c3ae7aa0c43591c9c7fc4a501c1f5b.tar.gz
mpd-f37481f843c3ae7aa0c43591c9c7fc4a501c1f5b.tar.xz
mpd-f37481f843c3ae7aa0c43591c9c7fc4a501c1f5b.zip
DatabaseCommands: add "window" parameter to "search"/"find"
Diffstat (limited to 'doc/protocol.xml')
-rw-r--r--doc/protocol.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 858ca0990..a85bbbc86 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -1558,6 +1558,7 @@ OK
<arg choice="req"><replaceable>TYPE</replaceable></arg>
<arg choice="req"><replaceable>WHAT</replaceable></arg>
<arg choice="opt"><replaceable>...</replaceable></arg>
+ <arg choice="opt">window <replaceable>START</replaceable>:<replaceable>END</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
@@ -1602,6 +1603,13 @@ OK
<para>
<varname>WHAT</varname> is what to find.
</para>
+
+ <para>
+ <varname>window</varname> can be used to query only a
+ portion of the real response. The parameter is two
+ zero-based record numbers; a start number and an end
+ number.
+ </para>
</listitem>
</varlistentry>
<varlistentry id="command_findadd">
@@ -1794,6 +1802,7 @@ OK
<arg choice="req"><replaceable>TYPE</replaceable></arg>
<arg choice="req"><replaceable>WHAT</replaceable></arg>
<arg choice="opt"><replaceable>...</replaceable></arg>
+ <arg choice="opt">window <replaceable>START</replaceable>:<replaceable>END</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>