aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/AllCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 16:13:35 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 16:13:35 +0200
commita577944ab5a1f4d688e5901fa3efaf7cd1673588 (patch)
tree5404e650f399191ca8a2f9a7b28c266e5c98d7d6 /src/command/AllCommands.cxx
parent17ec3b0c2d83da9cae3dc0e649cef2568d20e7c1 (diff)
downloadmpd-a577944ab5a1f4d688e5901fa3efaf7cd1673588.tar.gz
mpd-a577944ab5a1f4d688e5901fa3efaf7cd1673588.tar.xz
mpd-a577944ab5a1f4d688e5901fa3efaf7cd1673588.zip
command: new commands "findin", "searchin" with base URI
Diffstat (limited to '')
-rw-r--r--src/command/AllCommands.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx
index 0ab5953d0..94aa9f335 100644
--- a/src/command/AllCommands.cxx
+++ b/src/command/AllCommands.cxx
@@ -91,6 +91,7 @@ static const struct command commands[] = {
{ "enableoutput", PERMISSION_ADMIN, 1, 1, handle_enableoutput },
{ "find", PERMISSION_READ, 2, -1, handle_find },
{ "findadd", PERMISSION_READ, 2, -1, handle_findadd},
+ { "findin", PERMISSION_READ, 3, -1, handle_find_in },
{ "idle", PERMISSION_READ, 0, -1, handle_idle },
{ "kill", PERMISSION_ADMIN, -1, -1, handle_kill },
{ "list", PERMISSION_READ, 1, -1, handle_list },
@@ -142,6 +143,7 @@ static const struct command commands[] = {
{ "search", PERMISSION_READ, 2, -1, handle_search },
{ "searchadd", PERMISSION_ADD, 2, -1, handle_searchadd },
{ "searchaddpl", PERMISSION_CONTROL, 3, -1, handle_searchaddpl },
+ { "searchin", PERMISSION_READ, 3, -1, handle_search_in },
{ "seek", PERMISSION_CONTROL, 2, 2, handle_seek },
{ "seekcur", PERMISSION_CONTROL, 1, 1, handle_seekcur },
{ "seekid", PERMISSION_CONTROL, 2, 2, handle_seekid },