Skip to content

Commit

Permalink
Comment on covertart cache unveil
Browse files Browse the repository at this point in the history
'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...
  • Loading branch information
klemensn committed Feb 1, 2024
1 parent 0372801 commit 5fa3821
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shairport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 5fa3821

Please sign in to comment.