From bc87ec0059321485727b13ab7456de9dead2da8b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 29 Aug 2010 10:49:19 +0200 Subject: doc/protocol: update descriptions of the searching commands --- doc/protocol.xml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/protocol.xml b/doc/protocol.xml index e6319fcc..3eb5aa93 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -1214,16 +1214,18 @@ OK find TYPE WHAT + ... Finds songs in the db that are exactly - WHAT. TYPE should - be album, - artist, or - title. WHAT - is what to find. + WHAT. TYPE can + be any tag supported by MPD, or one of the two special + parameters — file to search by + full path (relative to database root), and + any to match against all + available tags. WHAT is what to find. @@ -1233,14 +1235,14 @@ OK findadd TYPE WHAT + ... Finds songs in the db that are exactly WHAT and adds them to current playlist. - TYPE can be any tag supported by MPD. - WHAT is what to find. + Parameters have the same meaning as for find. @@ -1255,7 +1257,8 @@ OK Lists all tags of the specified type. - TYPE should be album or artist. + TYPE can be any tag supported by MPD or + file. ARTIST is an optional parameter when @@ -1318,17 +1321,15 @@ OK search TYPE WHAT + ... Searches for any song that contains - WHAT. TYPE can be - title, - artist, - album or - filename. Search is not case - sensitive. + WHAT. Parameters have the same meaning + as for find, except that search is not + case sensitive. -- cgit v1.2.3