DatabasePlugin: add FLAG_REQUIRE_STORAGE
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin.
This commit is contained in:
@@ -76,3 +76,9 @@ CreateConfiguredStorage(Error &error)
|
||||
|
||||
return CreateConfiguredStorageLocal(error);
|
||||
}
|
||||
|
||||
bool
|
||||
IsStorageConfigured()
|
||||
{
|
||||
return config_get_string(CONF_MUSIC_DIR, nullptr) != nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user