diff options
author | Max Kellermann <max@duempel.org> | 2012-08-08 08:19:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-08 09:28:13 +0200 |
commit | aa55d759f555782dc9cf2f9f6d489502310490a6 (patch) | |
tree | 1e9a8c602cb2b1c5dcecc91909fa74084337cafd /src/update.c | |
parent | 2043579f71b4f5204272ed8615cffe1c3c4d8473 (diff) | |
download | mpd-aa55d759f555782dc9cf2f9f6d489502310490a6.tar.gz mpd-aa55d759f555782dc9cf2f9f6d489502310490a6.tar.xz mpd-aa55d759f555782dc9cf2f9f6d489502310490a6.zip |
DatabaseGlue: add function db_is_simple()
Preparing for non-"simple" database plugins.
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 12eec40c4..ef4dfe749 100644 --- a/src/update.c +++ b/src/update.c @@ -118,7 +118,7 @@ update_enqueue(const char *path, bool _discard) { assert(g_thread_self() == main_task); - if (!mapper_has_music_directory()) + if (!db_is_simple() || !mapper_has_music_directory()) return 0; if (progress != UPDATE_PROGRESS_IDLE) { |