aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/Configured.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/Configured.cxx')
-rw-r--r--src/storage/Configured.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/storage/Configured.cxx b/src/storage/Configured.cxx
index ab0135935..29e511c7a 100644
--- a/src/storage/Configured.cxx
+++ b/src/storage/Configured.cxx
@@ -76,3 +76,9 @@ CreateConfiguredStorage(Error &error)
return CreateConfiguredStorageLocal(error);
}
+
+bool
+IsStorageConfigured()
+{
+ return config_get_string(CONF_MUSIC_DIR, nullptr) != nullptr;
+}