Missing album art along with "Rejecting wide link" messages in log
Brought to you by:
jmaggard
If minidlna is started via a systemd unit file that includes:
DynamicUser=yes
CacheDirectory=minidlna
Then systemd symlinks /var/cache/minidlna -> /var/cache/private/minidlna.
If the default db_dir is left commented in minidlna.conf, then the hardcoded default of /var/cache/minidlna is used directy without being resolved through realpath(). This always fails comparison tests with paths that are resolved through realpath().
I think the fix is in minidlna.c, line 822:
if (!db_path[0])
strncpyt(db_path, realpath(DEFAULT_DB_PATH, buf), sizeof(db_path));
I'll try to create a PR.