Add itunes_overrides parameter

This commit is contained in:
Julien BLACHE 2009-11-22 16:45:13 +01:00
parent a6cbb2a8ec
commit 3ff067da4e
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,9 @@ library "My Music" {
# Matches anywhere in the path (not a regexp, though)
# compilations = { "/compilations/" }
# Should iTunes metadata override ours?
# itunes_overrides = true
# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
# Formats that should never be transcoded
# no_transcode = { "alac", "mp4a" }

View File

@ -55,6 +55,7 @@ static cfg_opt_t sec_library[] =
CFG_STR("password", NULL, CFGF_NONE),
CFG_STR_LIST("directories", NULL, CFGF_NONE),
CFG_STR_LIST("compilations", NULL, CFGF_NONE),
CFG_BOOL("itunes_overrides", cfg_false, CFGF_NONE),
CFG_STR_LIST("no_transcode", NULL, CFGF_NONE),
CFG_STR_LIST("force_transcode", NULL, CFGF_NONE),
CFG_END()