aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/AllCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-12 03:00:01 +0200
committerMax Kellermann <max@duempel.org>2014-07-12 18:55:41 +0200
commit751995ab95298bbc0afad6958bfccce535edf53c (patch)
tree29e8b8d35536e98fc503963d86260d74a872db91 /src/command/AllCommands.cxx
parent5ca6e2910ae0a8a2d1fa7b16f56130d533251ff9 (diff)
downloadmpd-751995ab95298bbc0afad6958bfccce535edf53c.tar.gz
mpd-751995ab95298bbc0afad6958bfccce535edf53c.tar.xz
mpd-751995ab95298bbc0afad6958bfccce535edf53c.zip
QueueCommands: new command "rangeid"
Manipulates the playback range of a queued song.
Diffstat (limited to '')
-rw-r--r--src/command/AllCommands.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx
index 6143dacdf..d29950eeb 100644
--- a/src/command/AllCommands.cxx
+++ b/src/command/AllCommands.cxx
@@ -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 },