Commit b26b57b6 authored by Eric Wong's avatar Eric Wong Committed by Max Kellermann

COMMANDS: document moveid with negative _to_ argument, too

parent 63ec066f
...@@ -55,7 +55,7 @@ add <string path> ...@@ -55,7 +55,7 @@ add <string path>
addid <string path> <int position> 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 (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:
...@@ -126,6 +126,8 @@ move <int from> <int to> ...@@ -126,6 +126,8 @@ move <int from> <int to>
moveid <int songid> <int to> moveid <int songid> <int to>
move song with _songid_ to _to_ in the playlist move song with _songid_ to _to_ in the playlist
increments playlist version by 1 increments playlist version by 1
if _to_ is negative, it is relative to the current song in
the playlist (if there is one).
next next
plays next song in playlist plays next song in playlist
......
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