Skip to content

metadata enrichment

freqhole can enrich its catalog from three free external sources:

  • MusicBrainz — canonical metadata (corrected names, release dates, track order) + cover art from the Cover Art Archive. lookups are manual (initiated from the album editor).
  • last.fm — album wiki summaries, artist bios, top tags (folksonomy), similar artists. runs lazily in the background.
  • theaudiodb — artist bios, artist images (thumbnails, banners, fanart), album artwork variants, structured genre/style tags. runs lazily in the background.

all three are opt-in, independent, and never modify your original audio files. enrichment results live in freqhole’s database alongside everything else — each source writes into its own columns, so you can enable any combination without conflicts.

sourcestrengthsinitiated
MusicBrainzcanonical metadata, cover artmanual lookup
last.fmbios, folksonomy tags, similar artistsbackground
theaudiodbartist imagery, album artwork variantsbackground

when server.fetch_music.precheck_command is set, the add music from url flow runs a precheck first and shows a review step before the actual download starts. unfinished review items stay in the add music modal so you can come back later.

member and admin uploads can also use the same review path for metadata tweaks before saving, including MusicBrainz lookups and taxon queries.


[musicbrainz]
enabled = true
preferred_country = "US"

preferred_country biases search results toward releases from that country (ISO 3166-1 alpha-2).

or in the desktop app: settings → integrations → enable MusicBrainz.

no api key required.

  • corrected artist names and album titles
  • accurate release dates
  • proper track ordering
  • cover art from the Cover Art Archive

lookups happen from the album editor in the web app or desktop app.

  1. open an album page
  2. click edit album (member or admin role required)
  3. in the MusicBrainz section, click search MusicBrainz
  4. review the search results and select the correct release
  5. confirm to apply the metadata

freqhole stores the fetched metadata in the database. your original audio files are never modified.

  1. open the album page → edit album
  2. in the MusicBrainz section, click disconnect to remove the current match
  3. search again and select the correct release

MusicBrainz limits api requests to roughly 1 per second. freqhole respects that.

queries include song/album/artist metadata. no account info or listening history is sent.


  1. go to last.fm/api/account/create
  2. fill in the form (application name, contact email, brief description)
  3. submit — last.fm shows an api key and a shared secret
  4. only copy the api key. the shared secret is for write/auth flows that freqhole doesn’t use
[lastfm]
enabled = true
api_key = "your-api-key-here"

or set the LASTFM_API_KEY environment variable (overrides the config file value).

restart the server (or the desktop app) for the change to take effect.

  • album wiki summaries (short blurbs about the album)
  • artist biographies
  • top tags — last.fm’s user-driven folksonomy, useful for cross-referencing with your own taxonomy
  • similar artists, which feed into the related-artist edges in the graph viz

last.fm allows roughly 5 requests per second per api key. freqhole paces its enrichment well under that.

queries include song/album/artist names. no account info or listening history is sent.


theaudiodb ships with a public free test key "123" baked into the default config. it works fine for low-volume non-commercial use, which covers most personal libraries.

if you want a real key (higher rate limits, no shared-key throttling), donate at theaudiodb.com — small one-time donation gets you a personal key.

[audiodb]
enabled = true
api_key = "123" # or your personal key

or set the AUDIODB_API_KEY environment variable (overrides the config file value).

  • artist biographies (often longer than last.fm’s)
  • artist images: square thumbnails, wide banners, full-bleed fanart
  • album artwork (cover, back, CD label)
  • structured genre + style tags

theaudiodb’s image collection is one of the main draws — it has dense coverage of artist banner/fanart shots that show up in the graph viz, album detail panels, and now-playing screens.