Covers and artist photos with fallbacks, tag IDs first

Covers come from the release in the player's own tags (Cover Art
Archive), then ListenBrainz's match, the release group, Deezer and
iTunes. Deezer and iTunes results count only when the artist and title
match. Artist photos come from Deezer, then MusicBrainz/Wikimedia.
Missing album names are looked up on Deezer. Play counts and Who Knows
match by MusicBrainz ID before names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-12-01 15:44:39 -06:00
commit ef26f7ff12

View file

@ -9,5 +9,10 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
- Not done: not tested in Discord 🧑; not deployed. Everyone must link again (`/fm mode:link`), ListenBrainz names can differ from Last.fm ones.
- Differences: periods are ListenBrainz's (last week/month/quarter/half-year, this year), not rolling; stats update about once a day; Who Knows and "plays of this track" only see each person's all-time top 1000.
## 2026-12-01 — covers and artist photos with fallbacks (owner request)
- Done: `covers.rs` (cover chain, artist photos, missing album names via Deezer); listens keep the player's tag IDs (`mbids`), tags win over ListenBrainz's guess; play counts and Who Knows match by ID first. Every card, chart and Pixel Jumble uses it.
- Verified: `cargo test` (same 8 worktree-only asset failures); `cargo test covers_live -- --ignored` and `listenbrainz_live` pass.
- Not done: not deployed at commit time; not checked in Discord 🧑.
## Later
- (none yet)