MusicBrainz API Module

Module for interacting with the MusicBrainz API.

queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.

  • v0.2.6 10/01/2026

    feat: add synchronous cache access method

  • v0.2.5 14/12/2025

    fix: resolve persistent API error and add auto-retry on reconnection

    • Prevent caching of network errors in YouTubeAPI to allow recovery.
    • Differentiate between 404s (cached) and network errors (not cached) in MB API.
    • Add auto-retry listener for 'online' event in both YouTube and MB APIs to recover from disconnects automatically.
  • v0.2.4 29/11/2025

    Update version to 0.2.4 and adjust base URL logic

  • v0.2.3 04/11/2025

    Fix cache redundancy and ensure lookupUrl returns a Map

    Resolves a stale data bug in the YouTube MusicBrainz Importer that was caused by a redundant, local cache (_urlCache) which was not being invalidated.

    Removing this redundant cache revealed a subsequent TypeError, as the importer expected a Map from _mbApi.lookupUrl, but the MusicBrainzAPI.js library returned a plain Object. This commit refactors the MusicBrainzAPI.js library to have its lookupUrl method return a Map to fix this underlying issue.

  • v0.2.2 18/10/2025

    fix:(MusicBrainzAPI.js) batch URL lookup

  • v0.2.1 12/10/2025