diff options
author | Max Kellermann <max@duempel.org> | 2013-10-25 19:35:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-25 19:35:40 +0200 |
commit | 17dc638c18d7897ec851313df1103ded008366b0 (patch) | |
tree | 354342b73d67a9ecb3e9c5e27fbe8ddc34fae40f /src/command/AllCommands.cxx | |
parent | d6e28c42e5c2bdab73d3553b21a09fa28dabd037 (diff) | |
download | mpd-17dc638c18d7897ec851313df1103ded008366b0.tar.gz mpd-17dc638c18d7897ec851313df1103ded008366b0.tar.xz mpd-17dc638c18d7897ec851313df1103ded008366b0.zip |
command: new command "readcomments" lists arbitrary file tags
Diffstat (limited to 'src/command/AllCommands.cxx')
-rw-r--r-- | src/command/AllCommands.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index b83b42a29..0ab5953d0 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -23,6 +23,7 @@ #include "PlayerCommands.hxx" #include "PlaylistCommands.hxx" #include "DatabaseCommands.hxx" +#include "FileCommands.hxx" #include "OutputCommands.hxx" #include "MessageCommands.hxx" #include "OtherCommands.hxx" @@ -127,6 +128,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 }, + { "readcomments", PERMISSION_READ, 1, 1, handle_read_comments }, { "readmessages", PERMISSION_READ, 0, 0, handle_read_messages }, { "rename", PERMISSION_CONTROL, 2, 2, handle_rename }, { "repeat", PERMISSION_CONTROL, 1, 1, handle_repeat }, |