QueueCommands: new command "rangeid"

Manipulates the playback range of a queued song.
This commit is contained in:
Max Kellermann
2014-07-12 03:00:01 +02:00
parent 5ca6e2910a
commit 751995ab95
7 changed files with 146 additions and 1 deletions

View File

@@ -150,6 +150,7 @@ static const struct command commands[] = {
{ "prio", PERMISSION_CONTROL, 2, -1, handle_prio },
{ "prioid", PERMISSION_CONTROL, 2, -1, handle_prioid },
{ "random", PERMISSION_CONTROL, 1, 1, handle_random },
{ "rangeid", PERMISSION_ADD, 2, 2, handle_rangeid },
{ "readcomments", PERMISSION_READ, 1, 1, handle_read_comments },
{ "readmessages", PERMISSION_READ, 0, 0, handle_read_messages },
{ "rename", PERMISSION_CONTROL, 2, 2, handle_rename },