COMMANDS: assorted formatting fixes

* spaces => tabs
* long lines wrapped
* trailing whitespace killed
This commit is contained in:
Eric Wong 2008-09-28 16:57:35 +02:00 committed by Max Kellermann
parent b26b57b677
commit 531a44e9e3

View File

@ -1,6 +1,6 @@
Music Player Daemon - Commands
Music Player Daemon - Commands
WARNING
WARNING
This document has not been updated to reflect recent changes in
the MPD protocol. It does not contain all supported commands,
and some commands may now take additional arguments. However,
@ -56,12 +56,12 @@ addid <string path> <int position>
_path_ is always a single file or URL
_position_ is optional, a negative number means it is relative
to the currently playing song in the playlist (if there is one)
adds a song to the playlist (non-recursive) and returns the song id;
example:
adds a song to the playlist (non-recursive) and returns the song id;
example:
addid "foo.mp3"
Id: 999
OK
addid "foo.mp3"
Id: 999
OK
clear
clears the current playlist
@ -284,5 +284,6 @@ command_list_end
It does not execute any commands until the list has ended. The return
value is whatever the return for a list of commands is. On success
for all commands, OK is returned. If a command fails, no more commands
are executed and the appropriate ACK error is returned. If "command_list_ok_begin is used", "list_OK\n" is returned for each successful command executed
in the command list.
are executed and the appropriate ACK error is returned. If
"command_list_ok_begin is used", "list_OK\n" is returned for each
successful command executed in the command list.