feat: use Cover Art Archive for albums with MusicBrainz IDs #27

Merged
deluan merged 9 commits from feat/cover-art-archive into main 2026-03-20 18:34:11 -06:00

9 Commits

Author SHA1 Message Date
deluan 76d4074ca1 fix: distinguish transient failures from definitive misses in CAA cache
headCoverArt now returns (url, definitive) — transient failures
(network errors, 5xx) are not cached, allowing immediate retries.
Only definitive 404s are cached for caaCacheTTLMiss (4h).
2026-03-20 20:32:41 -04:00
deluan 357f922070 refactor: remove magic number 2026-03-20 20:28:44 -04:00
deluan 4f097294fa fix: update uguu cache TTL to 2.5 hours and reorder config options 2026-03-20 20:18:23 -04:00
deluan 6ed2c2ce45 refactor: consolidate config keys and cache TTL constants
- Move caaEnabledKey and uguuEnabledKey to main.go config const block
- Extract uguu cache TTL magic number (9000) to named constant
- Add 5s timeout to CAA HEAD requests
2026-03-20 20:00:19 -04:00
deluan 40be06fee5 feat: add CAA config option and coverartarchive.org permission 2026-03-20 18:53:27 -04:00
deluan 0f7ede580e feat: integrate CAA into getImageURL priority chain 2026-03-20 18:50:49 -04:00
deluan 7cc9208d87 feat: add getImageViaCoverArt with release/release-group fallback 2026-03-20 18:45:30 -04:00
deluan 0b728493c6 feat: add headCoverArt helper for CAA HEAD requests 2026-03-20 18:41:29 -04:00
deluan 84d0c4e310 build: update Navidrome PDK for NoFollowRedirects support 2026-03-20 18:38:37 -04:00