Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bc87ec00
Commit
bc87ec00
authored
Aug 29, 2010
by
Anton Khirnov
Committed by
Max Kellermann
Aug 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/protocol: update descriptions of the searching commands
parent
91743426
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
protocol.xml
doc/protocol.xml
+15
-14
No files found.
doc/protocol.xml
View file @
bc87ec00
...
...
@@ -1214,16 +1214,18 @@ OK
<command>
find
</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>
Finds songs in the db that are exactly
<varname>
WHAT
</varname>
.
<varname>
TYPE
</varname>
should
be
<parameter>
album
</parameter>
,
<parameter>
artist
</parameter>
, or
<parameter>
title
</parameter>
.
<varname>
WHAT
</varname>
is what to find.
<varname>
WHAT
</varname>
.
<varname>
TYPE
</varname>
can
be any tag supported by MPD, or one of the two special
parameters —
<parameter>
file
</parameter>
to search by
full path (relative to database root), and
<parameter>
any
</parameter>
to match against all
available tags.
<varname>
WHAT
</varname>
is what to find.
</para>
</listitem>
</varlistentry>
...
...
@@ -1233,14 +1235,14 @@ OK
<command>
findadd
</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>
Finds songs in the db that are exactly
<varname>
WHAT
</varname>
and adds them to current playlist.
<varname>
TYPE
</varname>
can be any tag supported by MPD.
<varname>
WHAT
</varname>
is what to find.
Parameters have the same meaning as for
<command>
find
</command>
.
</para>
</listitem>
</varlistentry>
...
...
@@ -1255,7 +1257,8 @@ OK
<listitem>
<para>
Lists all tags of the specified type.
<varname>
TYPE
</varname>
should be album or artist.
<varname>
TYPE
</varname>
can be any tag supported by MPD or
<parameter>
file
</parameter>
.
</para>
<para>
<varname>
ARTIST
</varname>
is an optional parameter when
...
...
@@ -1318,17 +1321,15 @@ OK
<command>
search
</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>
.
<varname>
TYPE
</varname>
can be
<parameter>
title
</parameter>
,
<parameter>
artist
</parameter>
,
<parameter>
album
</parameter>
or
<parameter>
filename
</parameter>
. Search is not case
sensitive.
<varname>
WHAT
</varname>
. Parameters have the same meaning
as for
<command>
find
</command>
, except that search is not
case sensitive.
</para>
</listitem>
</varlistentry>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment