Vellum/internal/metadata
mithral 1c240449ec Music metadata via MusicBrainz
- musicbrainz provider: keyless, with the required descriptive User-Agent and
  a 1 req/s throttle so the provider cannot get us blocked. Covers come from
  the Cover Art Archive by release id.
- artistHint: directory-grouped items are stored as "Artist/Album", so the
  parent directory is used as the artist when querying. Without it the search
  for "Random Access Memories" matched an unrelated release by another artist.
- pickBest: providers return fuzzy matches, and taking candidates[0] blindly
  is how an album gets the wrong artist. A candidate is only accepted when its
  normalised title corresponds to the item's; otherwise the provider is
  recorded as notfound and the next one is tried.

Verified live: after the fix the album resolves to Daft Punk, 2013, and the
correct release id, with real cover art. Before the fix it matched a Franz
Kirmann release.
2026-10-09 21:46:28 -04:00
..
enrich.go Music metadata via MusicBrainz 2026-10-09 21:46:28 -04:00
enrich_test.go Music metadata via MusicBrainz 2026-10-09 21:46:28 -04:00
googlebooks.go Phase 5: job queue and metadata providers 2026-10-09 21:16:07 -04:00
handlers.go Phase 5: job queue and metadata providers 2026-10-09 21:16:07 -04:00
musicbrainz.go Music metadata via MusicBrainz 2026-10-09 21:46:28 -04:00
openlibrary.go Phase 5: job queue and metadata providers 2026-10-09 21:16:07 -04:00
provider.go Phase 5: job queue and metadata providers 2026-10-09 21:16:07 -04:00