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
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 4f097294fa - Show all commits
+1 -1
View File
4
@@ -37,7 +37,7 @@ func headCoverArt(url string) string {
const (
caaCacheTTLHit int64 = 24 * 60 * 60 // 24 hours for resolved CAA artwork
caaCacheTTLMiss int64 = 4 * 60 * 60 // 4 hours for CAA misses
uguuCacheTTL int64 = 9000 // ~2.5 hours for uguu.se uploads
uguuCacheTTL int64 = 150 * 60 // 2.5 hours for uguu.se uploads
)
// getImageViaCoverArt checks the Cover Art Archive for album artwork.
+5 -5
View File
@@ -61,17 +61,17 @@
],
"default": "Default"
},
"uguuenabled": {
"type": "boolean",
"title": "Upload artwork to uguu.se (enable if Navidrome is not publicly accessible)",
"default": false
},
"caaenabled": {
"type": "boolean",
"title": "Use artwork from Cover Art Archive (for MusicBrainz-tagged music)",
"description": "When enabled, attempts to fetch album artwork from the Cover Art Archive using MusicBrainz IDs. Takes priority over other artwork methods.",
"default": false
},
"uguuenabled": {
"type": "boolean",
"title": "Upload artwork to uguu.se (enable if Navidrome is not publicly accessible)",
"default": false
},
"spotifylinks": {
"type": "boolean",
"title": "Enable Spotify link-through",