diff options
author | Max Kellermann <max@duempel.org> | 2009-09-24 21:55:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-09-24 21:55:40 +0200 |
commit | 89ba540e6d76aae0a594daebb9db8524ea3ed528 (patch) | |
tree | b9b9dda03556ceeb98f620255c9148098d178da7 /src/main.c | |
parent | 47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b (diff) | |
download | mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.tar.gz mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.tar.xz mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.zip |
command: added command "rescan"
"rescan" is the same as "update", but it discards existing songs in
the database.
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 952e6d1fe..56627b665 100644 --- a/src/main.c +++ b/src/main.c @@ -362,7 +362,7 @@ int main(int argc, char *argv[]) if (create_db) { /* the database failed to load: recreate the database */ - unsigned job = update_enqueue(NULL); + unsigned job = update_enqueue(NULL, true); if (job == 0) g_error("directory update failed"); } |