From aa55d759f555782dc9cf2f9f6d489502310490a6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Aug 2012 08:19:30 +0200 Subject: DatabaseGlue: add function db_is_simple() Preparing for non-"simple" database plugins. --- src/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/update.c') 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) { -- cgit v1.2.3