mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-25 13:22:03 +08:00
When a MusicBrainz release is explicitly selected, the aligned track already carries the release structure, but _merge_music_track_context only filled missing local fields, so dirty local total_discs/disc_number kept producing a spurious Disc layer (e.g. total_discs=2 on a 1-disc release) and wrong track positions. Let online values win for disc_number/track_number/total_tracks/total_discs on the selected-release path only; auto-match keeps the fill-only behaviour. Album scrape merge now prefers online total_discs as well, and forces disc_number=1 for confirmed single-disc albums so a dirty local disc number cannot pair with total_discs=1 as "2/1" in tags. Fixes #7363