diff --git a/coverart.go b/coverart.go index a93f9de..9df569d 100644 --- a/coverart.go +++ b/coverart.go @@ -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. diff --git a/manifest.json b/manifest.json index 82ecc0a..a0a053f 100644 --- a/manifest.json +++ b/manifest.json @@ -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",