Commit c07536be authored by Warren Dukes's avatar Warren Dukes

update with new commands

git-svn-id: https://svn.musicpd.org/mpd/trunk@29 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 8a8f1f2d
...@@ -33,6 +33,13 @@ clearerror ...@@ -33,6 +33,13 @@ clearerror
close close
close the connection with the MPD close the connection with the MPD
crossfade <int seconds>
sets and gets crossfading between songs
(a value of 0 disables crossfading).
if _seconds_ is not specified, then the return crossfade returns:
crossfade: <unsigned integer >= 0>
delete <int song> delete <int song>
delete _song_ from playlist delete _song_ from playlist
...@@ -55,6 +62,10 @@ listall <string directory> ...@@ -55,6 +62,10 @@ listall <string directory>
lists all songs and directories in _directory_ (recursively) lists all songs and directories in _directory_ (recursively)
_directory_ is optional _directory_ is optional
listall <string directory>
same as listall command, except it also returns metadata info
in the same format as lsinfo
load <string name> load <string name>
loads the playlist _name_.m3u from the playlist directory loads the playlist _name_.m3u from the playlist directory
...@@ -70,6 +81,13 @@ next ...@@ -70,6 +81,13 @@ next
pause pause
pause/resume playing pause/resume playing
password <string password>
this is used for authentication with the server.
_password_ is simply the plaintext password
ping
does nothing but return "OK"
play <int song> play <int song>
begin playing playlist at song number _song_, _song_ is optional begin playing playlist at song number _song_, _song_ is optional
...@@ -117,7 +135,6 @@ stats ...@@ -117,7 +135,6 @@ stats
uptime: daemon uptime in seconds uptime: daemon uptime in seconds
db_update: last db update in UNIX time db_update: last db update in UNIX time
playtime: time length of music played playtime: time length of music played
songs_played: total number of songs played
status status
reports current status of player, and volume level. reports current status of player, and volume level.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment