From a165ee25e8b32411d31ab63b932c7a056c37cb3b Mon Sep 17 00:00:00 2001 From: Monika Brinkert Date: Thu, 20 Nov 2008 22:18:50 +0100 Subject: doc: merged protocol documentation from the wiki Over the years, a lot of commands have been added to MPD which were documented only in the wiki (http://mpd.wikia.com/wiki/Protocol_Reference). Merge all missing commands from there. --- doc/protocol.xml | 313 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 282 insertions(+), 31 deletions(-) diff --git a/doc/protocol.xml b/doc/protocol.xml index 48f489991..49f6d9797 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -194,7 +194,8 @@ - Reports the current status of the player and the volume level. + Reports the current status of the player and the volume + level. @@ -421,77 +422,78 @@ Controlling playback - + - play - SONGPOS + next - Begins playing the playlist at song number - SONGPOS. + Plays next song in the playlist. - + - playid - SONGID + pause + PAUSE - Begins playing the playlist at song - SONGID. + Toggles pause/resumes playing, PAUSE is 0 or 1. + + + The use of pause command w/o the PAUSE argument is + deprecated. + + - + - next + play + SONGPOS - Plays next song in the playlist. + Begins playing the playlist at song number + SONGPOS. - + - previous + playid + SONGID - Plays previous song in the playlist. + Begins playing the playlist at song + SONGID. - + - pause - PAUSE + previous - Toggles pause/resumes playing, PAUSE is 0 or 1. + Plays previous song in the playlist. - - - The use of pause command w/o the PAUSE argument is - deprecated. - - + @@ -672,6 +674,21 @@ OK + + + + playlistfind + TAG + NEEDLE + + + + + Finds songs in the current playlist with strict + matching. + + + @@ -702,6 +719,21 @@ OK + + + + playlistsearch + TAG + NEEDLE + + + + + Searches case-sensitively for partial matches in the + current playlist. + + + @@ -789,17 +821,30 @@ OK Stored playlists - + - load + listplaylist NAME - Loads the playlist NAME.m3u from - the playlist directory. + Lists the files in the playlist + NAME.m3u. + + + + + + + listplaylistinfo + NAME + + + + + Lists songs in the playlist NAME.m3u. @@ -822,6 +867,98 @@ OK + + + + load + NAME + + + + + Loads the playlist NAME.m3u from + the playlist directory. + + + + + + + playlistadd + NAME + URI + + + + + Adds URI to the playlist + NAME.m3u. + + + NAME.m3u will be created if it does + not exist. + + + + + + + playlistclear + NAME + + + + + Clears the playlist NAME.m3u. + + + + + + + playlistdelete + NAME + SONGID + + + + + Deletes SONGID from the + playlist NAME.m3u. + + + + + + + playlistmove + NAME + SONGID + SONGPOS + + + + + Moves SONGID in the playlist + NAME.m3u to the position + SONGPOS. + + + + + + + rename + NAME + NEW_NAME + + + + + Renames the playlist NAME.m3u to NEW_NAME.m3u. + + + @@ -857,6 +994,21 @@ OK The music database + + + + count + TAG + NEEDLE + + + + + Counts the number of songs and their total playtime in + the db matching TAG exactly. + + + @@ -1054,5 +1206,104 @@ OK + +
+ Audio output devices + + + + + + disableoutput + + + + + Turns an output off. + + + + + + + enableoutput + + + + + Turns an output on. + + + + + + + outputs + + + + + Shows information about all outputs. + + + + +
+ +
+ Reflection + + + + + + commands + + + + + Shows which commands the current user has access to. + + + + + + + notcommands + + + + + Shows which commands the current user does not have + access to. + + + + + + + tagtypes + + + + + Shows a list of available song metadata. + + + + + + + urlhandlers + + + + + Gets a list of available URL handlers. + + + + +
-- cgit v1.2.3