diff options
author | Max Kellermann <max@duempel.org> | 2013-12-02 12:00:32 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-02 12:50:27 +0100 |
commit | 2b717997e2d09d18e569cd36524aef0f8a3b1716 (patch) | |
tree | b50039f8a33b9cb4f0a758566e46900f2b909923 /src/command/AllCommands.cxx | |
parent | 20ebacf489333933ce752d66ffb6068434a846f5 (diff) | |
download | mpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.tar.gz mpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.tar.xz mpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.zip |
command: add commands "addtagid", "cleartagid"
Diffstat (limited to 'src/command/AllCommands.cxx')
-rw-r--r-- | src/command/AllCommands.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index 74802ced4..23641ddec 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "AllCommands.hxx" #include "QueueCommands.hxx" +#include "TagCommands.hxx" #include "PlayerCommands.hxx" #include "PlaylistCommands.hxx" #include "DatabaseCommands.hxx" @@ -74,9 +75,11 @@ handle_not_commands(Client &client, int argc, char *argv[]); static const struct command commands[] = { { "add", PERMISSION_ADD, 1, 1, handle_add }, { "addid", PERMISSION_ADD, 1, 2, handle_addid }, + { "addtagid", PERMISSION_ADD, 3, 3, handle_addtagid }, { "channels", PERMISSION_READ, 0, 0, handle_channels }, { "clear", PERMISSION_CONTROL, 0, 0, handle_clear }, { "clearerror", PERMISSION_CONTROL, 0, 0, handle_clearerror }, + { "cleartagid", PERMISSION_ADD, 1, 2, handle_cleartagid }, { "close", PERMISSION_NONE, -1, -1, handle_close }, { "commands", PERMISSION_NONE, 0, 0, handle_commands }, { "config", PERMISSION_ADMIN, 0, 0, handle_config }, |