aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-05 12:56:56 +0000
committerKalle Wallin <kaw@linux.se>2004-06-05 12:56:56 +0000
commit225e70a38b68cba219aeb7cb239f426ca739ed7d (patch)
tree884f76dcd05909c0ce7217d7b7d3155df413348a /src/command.c
parentf55a67b3f882641abe5a9b14b045d7ce71964af7 (diff)
downloadmpd-225e70a38b68cba219aeb7cb239f426ca739ed7d.tar.gz
mpd-225e70a38b68cba219aeb7cb239f426ca739ed7d.tar.xz
mpd-225e70a38b68cba219aeb7cb239f426ca739ed7d.zip
Addded support for the mpd update command (CMD_DB_UPDATE)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 1e9edcd0d..bb7dd7bc2 100644
--- a/src/command.c
+++ b/src/command.c
@@ -99,6 +99,9 @@ static command_definition_t cmds[] =
"Toggle random mode" },
{ { 'x', 0, 0 }, CMD_CROSSFADE, "crossfade",
"Toggle crossfade mode" },
+ { { 21, 0, 0 }, CMD_DB_UPDATE, "db-update",
+ "Start a music database update" },
+
{ { 'S', 0, 0 }, CMD_SAVE_PLAYLIST, "save",
"Save playlist" },