Commit 5e4dd4be authored by Max Kellermann's avatar Max Kellermann

Main: allow playlist directory without music directory

parent 04d5896c
......@@ -27,6 +27,7 @@ ver 0.19 (not yet released)
- increase kernel timer slack on Linux
- name each thread (for debugging)
* new resampler option using libsoxr
* allow playlist directory without music directory
ver 0.18.8 (2014/02/07)
* decoder
......
......@@ -142,11 +142,8 @@ glue_mapper_init(Error &error)
if (playlist_dir.IsNull() && error.IsDefined())
return false;
if (music_dir.IsNull()) {
music_dir = GetUserMusicDir();
if (music_dir.IsNull())
return true;
}
music_dir = GetUserMusicDir();
mapper_init(std::move(music_dir), std::move(playlist_dir));
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment