aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-27 00:14:50 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-27 00:14:50 -0700
commita32ade614e3ed3b85ff401684226ac245fcc6b09 (patch)
tree718e1d811aed0c2d085c7b1f1b136b2eabacb24b
parentf17fdbf2210513a0f33a41562fd8a91016c28f2f (diff)
downloadmpd-a32ade614e3ed3b85ff401684226ac245fcc6b09.tar.gz
mpd-a32ade614e3ed3b85ff401684226ac245fcc6b09.tar.xz
mpd-a32ade614e3ed3b85ff401684226ac245fcc6b09.zip
COMMANDS: document addid with optional position argument
-rw-r--r--doc/COMMANDS5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/COMMANDS b/doc/COMMANDS
index 1353455a4..5e5fffe6b 100644
--- a/doc/COMMANDS
+++ b/doc/COMMANDS
@@ -52,7 +52,10 @@ add <string path>
_path_ can also be a single file
increments playlist version by for each song added
-addid <string path>
+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 (if there is one)
adds a song to the playlist (non-recursive) and returns the song id;
example: