fs/StandardDirectory: add GetUserCacheDir()

Move code from CreateConfiguredDatabase() and add XDG support.  This
implements an automatic Linux fallback for the setting "db_file" if
none was specified.
This commit is contained in:
Max Kellermann
2014-03-01 22:50:11 +01:00
parent efa6678bcc
commit 36ca57a54e
4 changed files with 26 additions and 15 deletions

1
NEWS
View File

@@ -34,6 +34,7 @@ ver 0.19 (not yet released)
- name each thread (for debugging)
* configuration
- allow playlist directory without music directory
- use XDG to auto-detect "music_directory" and "db_file"
* new resampler option using libsoxr
* install systemd unit for socket activation
* Android port