summaryrefslogtreecommitdiffstats
path: root/apps/playlist_catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r--apps/playlist_catalog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index ef44e36ba7..5f9f46728a 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -70,7 +70,9 @@ static int initialize_catalog(void)
bool default_dir = true;
/* directory config is of the format: "dir: /path/to/dir" */
- if (global_settings.playlist_catalog_dir[0])
+ if (global_settings.playlist_catalog_dir[0] &&
+ strcmp(global_settings.playlist_catalog_dir,
+ PLAYLIST_CATALOG_DEFAULT_DIR))
{
strcpy(playlist_dir, global_settings.playlist_catalog_dir);
default_dir = false;