From bc2a1160b824c3ccf98ed658ef0d60c0f3d5bf5c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 26 Apr 2014 23:15:31 +0200 Subject: db/Count: implement grouping --- doc/protocol.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/protocol.xml b/doc/protocol.xml index e1fb08a84..e9c28995b 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -1493,12 +1493,15 @@ OK The music database + count TAG NEEDLE + group + GROUPTYPE @@ -1506,8 +1509,15 @@ OK Counts the number of songs and their total playtime in the db matching TAG exactly. + + The group keyword may be used to + group the results by a tag. The following prints + per-artist counts: + + count group artist + -- cgit v1.2.3