COMMANDS: assorted formatting fixes
* spaces => tabs * long lines wrapped * trailing whitespace killed
This commit is contained in:
parent
b26b57b677
commit
531a44e9e3
19
doc/COMMANDS
19
doc/COMMANDS
@ -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
|
This document has not been updated to reflect recent changes in
|
||||||
the MPD protocol. It does not contain all supported commands,
|
the MPD protocol. It does not contain all supported commands,
|
||||||
and some commands may now take additional arguments. However,
|
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
|
_path_ is always a single file or URL
|
||||||
_position_ is optional, a negative number means it is relative
|
_position_ is optional, a negative number means it is relative
|
||||||
to the currently playing song in the playlist (if there is one)
|
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;
|
adds a song to the playlist (non-recursive) and returns the song id;
|
||||||
example:
|
example:
|
||||||
|
|
||||||
addid "foo.mp3"
|
addid "foo.mp3"
|
||||||
Id: 999
|
Id: 999
|
||||||
OK
|
OK
|
||||||
|
|
||||||
clear
|
clear
|
||||||
clears the current playlist
|
clears the current playlist
|
||||||
@ -284,5 +284,6 @@ command_list_end
|
|||||||
It does not execute any commands until the list has ended. The return
|
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
|
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
|
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
|
are executed and the appropriate ACK error is returned. If
|
||||||
in the command list.
|
"command_list_ok_begin is used", "list_OK\n" is returned for each
|
||||||
|
successful command executed in the command list.
|
||||||
|
Loading…
Reference in New Issue
Block a user