你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/537862-beatport-musicbrainz-importer/versions,源站連結 點此以跳轉

Beatport: MusicBrainz Importer

Adds MusicBrainz status icons to Beatport releases and allows importing them with Harmony

当前为 2025-06-29 提交的版本,查看 最新版本

这些是此脚本变更过代码的版本。 显示所有版本。

  • v2.5.0 2025-11-07

    feat(Beatport MusicBrainz Importer.user.js): Unify and optimize update logic

    Refactors the main runUpdate function to eliminate redundant code paths.

    Previously, the script had two separate logic branches: one for the release detail page (which did a single URL lookup) and one for list pages (which did a batch lookup). This violated the DRY principle.

    This commit unifies this logic into a single, more efficient pipeline:

    1. Gathers all URLs (either the single detail URL or all list URLs).
    2. Normalizes all URLs.
    3. Fetches MusicBrainz data for all URLs in a single batch API call.
    4. Updates the UI based on the results (buttons for detail, icons for list).

    This change also:

    • Improves cache invalidation: the detail page button now invalidates only its specific URL (invalidateCacheForUrl) instead of clearing the entire cache.
    • Adds a cache-clearing onclick handler to the list page import icons.
  • v2.4.2 2025-11-06

    bump MusicBrainz API Module version

  • v2.4.1 2025-11-04
  • v2.4.0 2025-10-12

    refactor: use shared MusicBrainzAPI module

  • v2.3.3 2025-09-06
  • v2.3.2 2025-07-07

    strip language codes from URLs for API calls to MusicBrainz

  • v2.3.1 2025-06-29

    add @connect directive

  • v2.3 2025-06-12

    buttons on release pages now have the same size and shape as share buttons

  • v2.2 2025-06-01

    add support for Beatport URLs with language code

  • v2.1 2025-05-31

    improve artist and release name extraction for search button

  • v2.0 2025-05-31