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
a3d1b107
Unverified
Commit
a3d1b107
authored
7 years ago
by
Damien Cassou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/protocol.xml: Add examples to the description of 'count'
parent
0ab6c176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
protocol.xml
doc/protocol.xml
+9
-3
No files found.
doc/protocol.xml
View file @
a3d1b107
...
...
@@ -1626,14 +1626,20 @@ OK
<listitem>
<para>
Counts the number of songs and their total playtime in
the db matching
<varname>
TAG
</varname>
exactly.
the db matching
<varname>
TAG
</varname>
exactly. The
following prints the number of songs whose title matches
"Echoes":
</para>
<programlisting>
count title Echoes
</programlisting>
<para>
The
<parameter>
group
</parameter>
keyword may be used to
group the results by a tag. The following prints
per-artist counts:
group the results by a tag. The first following example
prints per-artist counts while the next prints the
number of songs whose title matches "Echoes" grouped by
artist:
</para>
<programlisting>
count group artist
</programlisting>
<programlisting>
count title Echoes group artist
</programlisting>
</listitem>
</varlistentry>
...
...
This diff is collapsed.
Click to expand it.
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