Minor logic fix

music_directory     "${cfg.musicDirectory}"
playlist_directory  "${cfg.dataDir}/playlists"
db_file             "${cfg.dataDir}/tag_cache"
state_file          "${cfg.dataDir}/state"
sticker_file        "${cfg.dataDir}/sticker.sql"

all refer to ${cfg.datadir}, which by default is "/var/lib/mpd/". 

Parsing for instance ${cfg.datadir}/playlists results in:
/var/lib/mpd//playlists - NOT FOUND.
This commit is contained in:
third3ye 2014-06-17 03:24:39 +00:00
parent 6025caa92b
commit 9c83a6bc76

View File

@ -52,7 +52,7 @@ in {
};
dataDir = mkOption {
default = "/var/lib/mpd/";
default = "/var/lib/mpd";
description = ''
The directory where MPD stores its state, tag cache,
playlists etc.