mapper: make the music_directory optional

Without a music_directory, MPD is an excellent streaming client.
This commit is contained in:
Max Kellermann
2009-01-18 16:56:07 +01:00
parent 9933144de7
commit 1f0dfb4407
8 changed files with 95 additions and 35 deletions

View File

@@ -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;