Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/ewanc26/pkgs. my pkgs monorepo docs.ewancroft.uk/projects/pkgs
monorepo nix
Something went wrong. Try again.
feat(tourmaline): parse MusicBrainz area/country into ArtistInfo master
MusicBrainz's base artist lookup already returns `area` (with an `iso-3166-1-codes` list) alongside the tags/genres/ratings tourmaline already requests via `inc=tags+genres+ratings` — verified against the live API with that exact query. No new `inc=` param or extra per-artist round-trip is needed, so this is free to add without touching the 1 req/sec MusicBrainz rate limit. Both fields are optional on ArtistInfo, so existing server (7-day) and client localStorage (30-day) enrichment caches degrade gracefully: cached entries without area/areaCode just omit them until they naturally expire and re-enrich. Lays the groundwork for a "scrobbles/artists by region" breakdown.
Author Ewan Croft Date (Aug 13, 2026, 2:39 PM UTC) Commit 759aeec7 759aeec76685c15ed35061990ca8d30f9e32fdf1 Parent be89136c be89136c653429896c380618a7f70479e54ed26d