A foobar2000 component that quietly builds and maintains a local MusicBrainz artist database while you listen. It looks up artists when tracks start or when radio streams publish new track metadata, then caches complete artist records in SQLite and exports them to JSON files.
Features:
Automatic artist collection
- Playback-triggered lookups. A lookup is queued when a new track starts. The component also handles dynamic track metadata, which is commonly used by Shoutcast/Icecast streams.
- MusicBrainz ID tags take priority. A valid UUID in
MUSICBRAINZ_ARTISTIDorMUSICBRAINZ ARTIST IDis used directly; no artist/title search is needed. - Known artists are matched by name next. Without an ID tag, an artist already stored in the database under exactly that name (case-insensitive) is used and MusicBrainz is not queried. If several stored artists share the name, the MusicBrainz searches below decide.
- Search fallback. Without an ID, the component searches by recording title and artist, then falls back to an artist-name search. Results of both searches are accepted only when the artist’s name, or one of its aliases, matches the tagged artist name (case-insensitive); a credited-as name also counts for the title search.
- Combined stream titles. If no artist tag is available, a title in
Artist - Titleform is split into artist and title. - Custom tag expressions. Artist and title can be sourced from user-defined foobar2000 title-formatting patterns instead of the plain
%artist%and%title%metadata fields. - Stream metadata settling delay. Dynamic-info lookups can be delayed by 0β300 seconds. A newer metadata update restarts the delay, so short-lived jingles, adverts or partial metadata updates need not trigger a lookup. The pending delay is cancelled when playback stops or a new track starts.
- Duplicate suppression. Repeated dynamic updates with the same artist/title (or artist MBID) are ignored. Batch searches also collapse multiple selected tracks by the same artist into one lookup.
- Background processing. Network requests and database work run on a worker thread rather than in playback callbacks. Lookups are queued and processed serially.
