[READ-ONLY] Mirror of https://github.com/ewanc26/pkgs. my pkgs monorepo docs.ewancroft.uk/projects/pkgs
monorepo nix

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.


+12
2 changed files