Skip to content

✨ Artist art fetching, the UI half: Health's Metadata card and Settings' Artist art and bios - #125

Merged
simonhull merged 4 commits into
mainfrom
feat/artist-art-fetch-ui
Nov 24, 2026
Merged

simonhull merged 4 commits into
mainfrom
feat/artist-art-fetch-ui

Conversation

@simonhull

Copy link
Copy Markdown
Owner

Stacked on #123 (the server half, branch feat/artist-art-fetch): merge that first. Plan 072, Phase 2, from the approved boards (Health, HealthPhone, HealthWide, Settings, SettingsPhone, SettingsWide, Light).

  • Health › Metadata (lib/metadata/, MetadataCard.svelte), admins only, from GET /admin/metadata: with lookups off, the offer saying exactly what lookups send (MBIDs, never names, paths, plays or people); Turn on lookups writes metadata.remote and reshapes the card in place through the surface engine (Surface.rests: a card at rest taken as a surface without budding). On: the pass's progress and the artist in hand, each source's state in words (needs a key and refused link to /server#art, resting says until when, failures only in the server's words), the artists without an MBID linking to Matching, and the Credits (fanart.tv, Wikipedia with CC BY-SA 4.0, Wikimedia Commons, MusicBrainz). Up to date says what found nothing and the next refresh. Progress is polled every 2.5 s only while a pass goes and the card is on screen, and re-read on artists and settings events. Nothing on the play path waits on it.
  • Server › Settings › Artist art and bios: the master switch, Wikipedia and fanart.tv under it (dimmed while it's off), the bio language, and fanart.tv's project and personal keys, write-only as Last.fm's secret: Add key, Set · never shown, Replace, Clear. No value is ever read back or rendered.
  • Fixtures: ?metadata=off|running|refused|resting|done, ?metadataArtist= (ms per artist).
  • Tests: vitest for the words and the form; e2e/metadata.e2e.ts (12 tests, the offer and Turn on, every source state, Matching, credits, the key rows, 390 and 4K), repeated 10x at 16 workers, 120/120.

Differences from the boards: only the sources the server has (no Last.fm, Cover Art Archive or TheAudioDB rows, no TheAudioDB key), no "built in" key note (decision 4 as chosen), the offer drops covers for albums (not in Phase 2), and "found nothing" says "asked again later" rather than a fixed 7 days, since refresh goes 7 then 30.

Base automatically changed from feat/artist-art-fetch to main November 24, 2026 17:25
@simonhull
simonhull merged commit d6e818f into main Nov 24, 2026
@simonhull
simonhull deleted the feat/artist-art-fetch-ui branch November 24, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant