From 1f0dfb4407344996bbe874525413275b79da12b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Jan 2009 16:56:07 +0100 Subject: mapper: make the music_directory optional Without a music_directory, MPD is an excellent streaming client. --- src/update.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/update.c') diff --git a/src/update.c b/src/update.c index f27247628..1edb8cc01 100644 --- a/src/update.c +++ b/src/update.c @@ -680,6 +680,9 @@ directory_update_init(char *path) { assert(g_thread_self() == main_task); + if (!mapper_has_music_directory()) + return 0; + if (progress != UPDATE_PROGRESS_IDLE) { unsigned next_task_id; -- cgit v1.2.3