diff options
author | Max Kellermann <max@duempel.org> | 2013-10-26 16:13:35 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-26 16:13:35 +0200 |
commit | a577944ab5a1f4d688e5901fa3efaf7cd1673588 (patch) | |
tree | 5404e650f399191ca8a2f9a7b28c266e5c98d7d6 /src/command/AllCommands.cxx | |
parent | 17ec3b0c2d83da9cae3dc0e649cef2568d20e7c1 (diff) | |
download | mpd-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.cxx | 2 |
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 }, |