From 5fa38214235b8727f9d9372cda27630610d06985 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 1 Feb 2024 06:45:26 +0100 Subject: [PATCH] Comment on covertart cache unveil 'mkdir -p /tmp/shairport-sync/.cache/' before helps, but ideally, this would be done earlier during startup, or the whole unveil block gets deferred to whenever... --- shairport.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shairport.c b/shairport.c index ace3af1ed..fb18cc15c 100644 --- a/shairport.c +++ b/shairport.c @@ -2414,6 +2414,10 @@ int main(int argc, char **argv) { if (config.metadata_enabled) { need_cpath_dpath = 1; # ifdef CONFIG_METADATA_HUB + /* + * XXX unveiling default /tmp/shairport-sync/.cache/coverart may fail + * as parent directories do not exist. + */ int do_cache = config.cover_art_cache_dir != NULL && config.cover_art_cache_dir[0] != '\0';