[config] Keep "cache_path" option but mark as deprecated

So OwnTone will still start if user has previously configured "cache_path"
This commit is contained in:
ejurgensen 2024-06-17 23:04:20 +02:00
parent 4cbce79a0f
commit 82a0e77eb6
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ static cfg_opt_t sec_general[] =
CFG_BOOL("ipv6", cfg_false, CFGF_NONE),
CFG_STR("bind_address", NULL, CFGF_NONE),
CFG_STR("cache_dir", STATEDIR "/cache/" PACKAGE, CFGF_NONE),
CFG_STR("cache_path", NULL, CFGF_DEPRECATED),
CFG_INT("cache_daap_threshold", 1000, CFGF_NONE),
CFG_BOOL("speaker_autoselect", cfg_false, CFGF_NONE),
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)