summaryrefslogtreecommitdiff
path: root/doc/protocol.rst
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-03-25 18:30:56 +0100
committerMax Kellermann <max@musicpd.org>2019-03-25 19:05:49 +0100
commitb1b630a4cc435e35029b7895b2ff6d6b1ad07552 (patch)
treeb86d34d00596e1ae73cb5d51bb8166825d88c557 /doc/protocol.rst
parentc60d374fc85364458f9fce242370abcd7fc8f40c (diff)
command/database: support "sort" and "window" in more commands
Closes https://github.com/MusicPlayerDaemon/MPD/issues/516
Diffstat (limited to 'doc/protocol.rst')
-rw-r--r--doc/protocol.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/protocol.rst b/doc/protocol.rst
index c103efe64..02a7ecfc4 100644
--- a/doc/protocol.rst
+++ b/doc/protocol.rst
@@ -849,7 +849,7 @@ The music database
.. _command_findadd:
-:command:`findadd {FILTER}`
+:command:`findadd {FILTER} [sort {TYPE}] [window {START:END}]`
Search the database for songs matching
``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to
the queue. Parameters have the same meaning as for
@@ -961,14 +961,14 @@ The music database
.. _command_searchadd:
-:command:`searchadd {FILTER}`
+:command:`searchadd {FILTER} [sort {TYPE}] [window {START:END}]`
Search the database for songs matching
``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to
the queue.
Parameters have the same meaning as for :ref:`search <command_search>`.
-:command:`searchaddpl {NAME} {FILTER}`
+:command:`searchaddpl {NAME} {FILTER} [sort {TYPE}] [window {START:END}]`
Search the database for songs matching
``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to
the playlist named ``NAME``.