Bug 479503

Summary: Importing multidisc releases from MusicBrainz mixes tracks as a single release
Product: [Applications] tellico Reporter: balseiro
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 3.5.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.0
Sentry Crash Report:

Description balseiro 2024-01-07 15:19:24 UTC
SUMMARY

Importing a release with several discs shows a single tracklist instead of the track list per each disc.

STEPS TO REPRODUCE
1. In example, import this release https://musicbrainz.org/release/7a50a9e5-ca9c-41a8-9714-16313a1c27d8


OBSERVED RESULT

Single tracklist presented

EXPECTED RESULT

Track lists per disc
Comment 1 Tobias Fella 2024-01-07 17:15:31 UTC
*** Bug 479504 has been marked as a duplicate of this bug. ***
Comment 2 Robby Stephenson 2024-01-13 16:32:35 UTC
Git commit 4434a01752832cc1f7f6f56af47bd3b254fe3aa9 by Robby Stephenson.
Committed on 13/01/2024 at 17:32.
Pushed by rstephenson into branch 'master'.

Update Discogs, MusicBrainze, and iTunes to separate multi-disc tracks

Create new fields for each disc, similar to what the audio file
importer does. Add unit tests. One drawback is that the field will be
visible for all albums in the collection.

MusicBrainz doesn't have a consistent way of representing the disc and
track numbers, so a regular expression is used to try to parse them.
FIXED-IN: 4.0

M  +4    -0    ChangeLog
M  +37   -3    src/fetch/discogsfetcher.cpp
M  +48   -18   src/fetch/itunesfetcher.cpp
M  +2    -1    src/fetch/itunesfetcher.h
M  +1    -2    src/fetch/musicbrainzfetcher.cpp
M  +40   -0    src/tests/discogsfetchertest.cpp
M  +1    -0    src/tests/discogsfetchertest.h
M  +27   -2    src/tests/itunesfetchertest.cpp
M  +1    -0    src/tests/itunesfetchertest.h
M  +30   -0    src/tests/musicbrainzfetchertest.cpp
M  +1    -0    src/tests/musicbrainzfetchertest.h
M  +73   -24   xslt/musicbrainz2tellico.xsl

https://invent.kde.org/office/tellico/-/commit/4434a01752832cc1f7f6f56af47bd3b254fe3aa9