From 82a0e77eb60d749f7e11dcc6e0b287790141cfd1 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 17 Jun 2024 23:04:20 +0200 Subject: [PATCH] [config] Keep "cache_path" option but mark as deprecated So OwnTone will still start if user has previously configured "cache_path" --- src/conffile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conffile.c b/src/conffile.c index 15282d05e2..cdae2408dd 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -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__)