storage/Configured: fix fallback music directory
This was accidently disabled when storage plugins were introduced.
This commit is contained in:
parent
b2c523e56d
commit
350d2bcd6e
@ -68,10 +68,7 @@ CreateConfiguredStorage(Error &error)
|
||||
assert(!error.IsDefined());
|
||||
|
||||
auto uri = config_get_string(CONF_MUSIC_DIR, nullptr);
|
||||
if (uri == nullptr)
|
||||
return nullptr;
|
||||
|
||||
if (uri_has_scheme(uri))
|
||||
if (uri != nullptr && uri_has_scheme(uri))
|
||||
return CreateConfiguredStorageUri(uri, error);
|
||||
|
||||
return CreateConfiguredStorageLocal(error);
|
||||
|
Loading…
Reference in New Issue
Block a user