diff options
author | Max Kellermann <max@duempel.org> | 2014-02-09 08:24:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-09 11:07:08 +0100 |
commit | 73aec9ce6317abf6982d32bc6b8a39f50d229900 (patch) | |
tree | 4a7a4184007abd4ef91c46eea91017af12ab15f8 /src/command/AllCommands.cxx | |
parent | a9fefcf6008cd6dbefdd5bd1b3a49e093ae9dcf5 (diff) | |
download | mpd-73aec9ce6317abf6982d32bc6b8a39f50d229900.tar.gz mpd-73aec9ce6317abf6982d32bc6b8a39f50d229900.tar.xz mpd-73aec9ce6317abf6982d32bc6b8a39f50d229900.zip |
StorageCommands: expose the "mount" command
Diffstat (limited to '')
-rw-r--r-- | src/command/AllCommands.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index 2ac55e715..793a78078 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -23,6 +23,7 @@ #include "TagCommands.hxx" #include "PlayerCommands.hxx" #include "PlaylistCommands.hxx" +#include "StorageCommands.hxx" #include "DatabaseCommands.hxx" #include "FileCommands.hxx" #include "OutputCommands.hxx" @@ -117,6 +118,9 @@ static const struct command commands[] = { { "lsinfo", PERMISSION_READ, 0, 1, handle_lsinfo }, { "mixrampdb", PERMISSION_CONTROL, 1, 1, handle_mixrampdb }, { "mixrampdelay", PERMISSION_CONTROL, 1, 1, handle_mixrampdelay }, +#ifdef ENABLE_DATABASE + { "mount", PERMISSION_ADMIN, 2, 2, handle_mount }, +#endif { "move", PERMISSION_CONTROL, 2, 2, handle_move }, { "moveid", PERMISSION_CONTROL, 2, 2, handle_moveid }, { "next", PERMISSION_CONTROL, 0, 0, handle_next }, |