Bug 340932 - cd lookup/playlist broken for multi-disc releases (libmusicbrainz)
Summary: cd lookup/playlist broken for multi-disc releases (libmusicbrainz)
Status: RESOLVED WORKSFORME
Alias: None
Product: kscd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 17:28 UTC by Johannes Dewender
Modified: 2022-11-15 05:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Dewender 2014-11-13 17:28:11 UTC
When using kscd with a release that has multiple discs (like a deluxe version with a bonus disc), both discs show the playlist from the first disc. So the bonus disc will show the playlist of the album (even if the discs have a different number of tracks)

Reproducible: Always

Steps to Reproduce:
1. insert second disc of a multi-disc release in the drive
2. open kscd
3. open the playlist (wait for the lookup to finish first)

Actual Results:  
The playlist for the first disc is displayed.

Expected Results:  
The playlist for the second (inserted) disc should be shown.

The problem is libmusicbrainz version 3. This version still uses the MusicBrainz Web Service Version 1:
https://musicbrainz.org/doc/Development/XML_Web_Service/Version_1 (WS/1)

This webservice broke for multi-disc releases with the introduction of a new (server-side) schema.

It is advisable to use libmusicbrainz version 5:
https://musicbrainz.org/doc/libmusicbrainz
That version uses Version 2 of the MusicBrainz Web Service, which was redesigned to work better with the new schema.
https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2 (WS/2)

FYI:
That schema change happened in 2011 and the problem probably exists since then.
At least on Arch Linux kscd is the last program/package still using libmusicbrainz3
The actual change is that back then every disc was technically a "release" while now there is difference between a "release" and (multiple) discs (medium) belonging to that release.
Comment 1 Johannes Dewender 2014-11-13 17:53:42 UTC
I also found an old Debian issue for this:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677252
(no patch though)
Comment 2 Justin Zobel 2022-10-16 07:52:15 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-31 05:03:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-11-15 05:15:53 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!