Skip to content

Warn about track length mismatches before ISRC submission - #276

Open
ligeia wants to merge 1 commit into
kellnerd:mainfrom
ligeia:check-tracklengths-on-actions
Open

ligeia wants to merge 1 commit into
kellnerd:mainfrom
ligeia:check-tracklengths-on-actions

Conversation

@ligeia

@ligeia ligeia commented Oct 14, 2026 •

Copy link
Copy Markdown

This is a Claude-assisted (Opus 5.5 - High effort) change to the Actions page on Harmony that compares tracklengths between the selected ISRC provider and the MusicBrainz release.

On the Release Actions page, ISRCs from the provider are matched to MusicBrainz tracks by position only. If the track order differs between MB and the provider, the MagicISRC link still submits every ISRC, and MagicISRC doesn’t check anything beyond whether the ISRC already exists. This has resulted in many ISRCs being added to the wrong recordings.

This PR adds a warning under the MagicISRC action when, for any track with a pending ISRC:

the MB and provider track lengths differ by more than 2 seconds, or
either side has no track length, so there’s nothing to compare.

The warning names the affected tracks and links to both the MB release and the provider release. Submission is not blocked.

Deliberately minimal for now. Possible follow-ups, if wanted: title comparison, a side-by-side tracklist table, or leaving flagged ISRCs out of the MagicISRC link.

@ligeia
ligeia marked this pull request as ready for review October 14, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant