diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-18 14:20:19 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-18 14:20:19 +0000 |
commit | ddf5964927e5fac05139e9345714f39e4cd686b6 (patch) | |
tree | 5a5508d35d60844212095f12d2ee273bcfc0250b /src/command.c | |
parent | 49d3277a7345108f10322712852f3f1f1df92eb6 (diff) | |
download | mpd-ddf5964927e5fac05139e9345714f39e4cd686b6.tar.gz mpd-ddf5964927e5fac05139e9345714f39e4cd686b6.tar.xz mpd-ddf5964927e5fac05139e9345714f39e4cd686b6.zip |
Added a add command (for adding files or urls to the playlist)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 81eec77f7..57f90d437 100644 --- a/src/command.c +++ b/src/command.c @@ -88,7 +88,7 @@ static command_definition_t cmds[] = { { 'U', 0, 0 }, CMD_TOGGLE_AUTOCENTER, "autocenter-mode", N_("Toggle auto center mode") }, - { { ' ', 'a', 0 }, CMD_SELECT, "select", + { { ' ', 0, 0 }, CMD_SELECT, "select", N_("Select/deselect song in playlist") }, { { DEL, 'd', 0 }, CMD_DELETE, "delete", N_("Delete song from playlist") }, @@ -107,6 +107,8 @@ static command_definition_t cmds[] = { { 'S', 0, 0 }, CMD_SAVE_PLAYLIST, "save", N_("Save playlist") }, + { { 'a', 0, 0 }, CMD_ADD, "add", + N_("Add url/file to playlist") }, { { 0, 0, 0 }, CMD_LIST_MOVE_UP, "move-up", N_("Move item up") }, |