aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: