From d46c8678077db1d676e350df8acd2b4020bdc9e3 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 12 Jun 2004 20:07:40 +0000 Subject: update COMMANDS docs, I'll be rewriting this hopefully in a useful document format soon git-svn-id: https://svn.musicpd.org/mpd/trunk@1452 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/COMMANDS | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/doc/COMMANDS b/doc/COMMANDS index 263e4f0a5..b78735a31 100644 --- a/doc/COMMANDS +++ b/doc/COMMANDS @@ -47,10 +47,18 @@ close crossfade sets crossfading between songs +currentsong + displays the song info of current song (same song that is identified + in status) + delete delete _song_ from playlist increments playlist version by 1 +deleteid + delete song with _songid_ from playlist + increments playlist version by 1 + find finds songs in the db that are exactly _what_ _type_ should be "album", "artist", or "title" @@ -85,12 +93,17 @@ move move song at _from_ to _to_ in the playlist increments playlist version by 1 +move + move song with _songid_ to _to_ in the playlist + increments playlist version by 1 + next plays next song in playlist pause toggle pause/resume playing - _pause_ is optional and should be 0 or 1 + _pause_ is required and should be 0 or 1 + NOTE: use of pause command w/o the _pause_ argument is depricated password this is used for authentication with the server. @@ -102,6 +115,9 @@ ping play begin playing playlist at song number _song_, _song_ is optional +playid + begin playing playlist at song with _songid_, _songid_ is optional + playlist displays the current playlist NOTE: do not use this, instead use 'playlistinfo' @@ -110,9 +126,15 @@ playlistinfo displays list of songs in the playlist _song_ is optional and species a single song to displa info for +playlistiid + displays list of songs in the playlist + _songid_ is optional and species a single song to display info for + plchanges displays changed songs currently in the playlist since _playlist version_ + NOTE: to detect songs that were deleted at the end of the playlist, + use playlistlength returned by status command. previous plays previous song in playlist @@ -138,6 +160,9 @@ seek seeks to the position _time_ (in seconds) of entry _song_ in the playlist +seekid + seeks to the position _time_ (in seconds) of song with _songid_ + setvol set volume to _vol_ _vol_ the range of volume is 0-100 @@ -163,7 +188,8 @@ status playlist: (31-bit unsigned integer, the playlist version number) playlistlength: (integer, the length of the playlist) state: ("play", "stop", or "pause") - song: (current song playing/paused, playlist song number) + song: (current song stopped on or playing, playlist song number) + songid: (current song stopped on or playing, playlist songid) time: :