aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 21:51:57 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 21:51:57 +0100
commit299a27c8dee0e7eeab3448ed7cdfe1ac7c97ebaf (patch)
tree45768e3972318fb475c65a5866c5bbedd09da8a3 /src/command.c
parentebb9e5b1924e6bc5baaae9ced82b54be586f6b74 (diff)
downloadmpd-299a27c8dee0e7eeab3448ed7cdfe1ac7c97ebaf.tar.gz
mpd-299a27c8dee0e7eeab3448ed7cdfe1ac7c97ebaf.tar.xz
mpd-299a27c8dee0e7eeab3448ed7cdfe1ac7c97ebaf.zip
command: added CMD_LOCATE to locate song in database
Pressing 'l' switches to the file browser (screen_file) and locates the previously selected song in the server's database.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 92ee27ea0..0168b057b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -142,6 +142,9 @@ static command_definition_t cmds[] = {
{ { '"', 0, 0 }, 0, CMD_GO_PARENT_DIRECTORY, "go-parent-directory",
N_("Go to parent directory") },
+ { { 'l', 0, 0 }, 0, CMD_LOCATE, "locate",
+ N_("Locate song in browser") },
+
/* lists */
{ { 11, 0, 0 }, 0, CMD_LIST_MOVE_UP, "move-up",
N_("Move item up") },