sonda/internal/providers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 12f487f223 feat(images): find the cover of an album that has no MusicBrainz id
The covers asked the Cover Art Archive only for albums whose files carried a
release group id. In a library tagged without MusicBrainz, 3,321 of 3,433 albums
have none, so almost no cover could come from the archive.

An album with no id is now looked up in MusicBrainz by the name of its artist and
its title (musicbrainz.Client.FindReleaseGroup), when the musicbrainz provider is
on too. A result is taken only if MusicBrainz scores it 95 or more and its title
and one name of its artist credit equal the ones asked for after folding case,
accents and punctuation; the first such result wins and anything doubtful is no
cover. The id is used for that request and is not stored on the album.

Artists are still never looked up by name. The MusicBrainz and Cover Art Archive
provider texts, the README and the API spec say what is sent.

On 47 albums sampled from a real library, 23 got a cover (all checked as the right
ones by eye or by exact title and artist); a title like 'Live (disc 2)' finds nothing.

Closes #83
2026-11-12 16:22:02 +01:00
..
commons fix(images): outages are 502, purges are not undone, bad pictures are not outages 2026-11-11 22:12:49 +01:00
coverart fix(images): purge removes every archive cover, the id of an emptied album moves on 2026-11-12 09:21:11 +01:00
lastfm fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
lidarr fix(lidarr): protect Lidarr from many asks, refuse bad ids, give up when the request does 2026-11-12 11:35:28 +01:00
musicbrainz feat(images): find the cover of an album that has no MusicBrainz id 2026-11-12 16:22:02 +01:00
outbound feat(images): a background job that builds all the covers 2026-11-12 09:34:27 +01:00
wikipedia fix(about): unusable pages fall through, MusicBrainz switch, merged items 2026-11-11 21:45:20 +01:00
lidarr_settings_test.go fix(lidarr): saved defaults, conflicts, no proxy, readable addresses 2026-11-12 11:11:35 +01:00
settings.go feat(images): find the cover of an album that has no MusicBrainz id 2026-11-12 16:22:02 +01:00
settings_test.go feat(images): find the cover of an album that has no MusicBrainz id 2026-11-12 16:22:02 +01:00