After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578654 - Wrong MusicBrainz IDs written
Wrong MusicBrainz IDs written
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: metadata
2.26.x
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-10 19:29 UTC by Philipp Wolfer
Modified: 2009-11-24 17:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Patch to fix MBIDs when using libmusicbrainz3 (2.18 KB, patch)
2009-08-17 20:24 UTC, Philipp Wolfer
none Details | Review
0001 Use only the UUID part of MusicBrainz IDs (2.71 KB, patch)
2009-08-17 21:07 UTC, Philipp Wolfer
needs-work Details | Review
0002 Check for presence of mb_extract_uuid (2.12 KB, patch)
2009-08-18 21:17 UTC, Philipp Wolfer
none Details | Review

Description Philipp Wolfer 2009-04-10 19:29:17 UTC
Please describe the problem:
Sound Juicer 2.26.0 writes the MusicBrainz IDs incorrectly to the tags. It uses the complete URI instead of just the UUID part.

For example it uses http://musicbrainz.org/release/953fa66b-d805-41da-9319-c86d76918e48.html as the Album-ID but should only use 953fa66b-d805-41da-9319-c86d76918e48.

Steps to reproduce:
1. Rip a CD which was found on MusicBrainz
2. Look at the written Tags


Actual results:
The complete Identifier (e.g. http://musicbrainz.org/release/953fa66b-d805-41da-9319-c86d76918e48.html) gets written to the file tags.

Expected results:
Only the UUID part of the MusicBrainz IDs gets written to the files.

Does this happen every time?
Yes

Other information:
Earlier versions of Sound Juicer did this correctly. This bug breaks compatibility with other software that uses the MusicBrainz IDs in the tags, e.g. MusicBrainz Picard.
Comment 1 Ross Burton 2009-04-11 21:45:22 UTC
Doh.
Comment 2 Philipp Wolfer 2009-08-17 11:46:26 UTC
Ross, any chance this will be fixed soon? I tried to fix this myself, but I could not find the relevant code.
Comment 3 Philipp Wolfer 2009-08-17 20:24:29 UTC
Created attachment 140992 [details] [review]
Patch to fix MBIDs when using libmusicbrainz3

Finally found it. This only happens when using the libmusicbrainz3 backend, with libmusicbrainz2 it works as expected.

Please note that the attached patch requires a patched libmusicbrainz3, since the current version does not expose the utility function extractUuid() via the C API. I've submitted a patch for libmusicbrainz at http://bugs.musicbrainz.org/ticket/5333.
Comment 4 Philipp Wolfer 2009-08-17 21:07:14 UTC
Created attachment 140996 [details] [review]
0001 Use only the UUID part of MusicBrainz IDs
Comment 5 Ross Burton 2009-08-18 10:27:20 UTC
Comment on attachment 140996 [details] [review]
0001 Use only the UUID part of MusicBrainz IDs

Excellent.  If you can make that code conditional on mb_extract_uuid() being present (check in configure.in with mb_SetProxyCreds) and don't set the MB ID when it isn't present, then this will be ready for merging.
Comment 6 Philipp Wolfer 2009-08-18 21:17:36 UTC
Created attachment 141112 [details] [review]
0002 Check for presence of mb_extract_uuid
Comment 7 Philipp Wolfer 2009-08-18 21:19:11 UTC
Ok, I've added an additional patch to check for the function. This also fixes two small issues I overlooked when reworking the patch yesterday.
Comment 8 Philipp Wolfer 2009-09-02 23:31:54 UTC
Ross, any chance that this patch will be applied? If there is anything that should be done just let me know. I'm happy to help.
Comment 9 DSHR 2009-10-03 17:49:34 UTC
Seems to fixed with sound-juicer 2.28.0 ... (ubuntu karmic beta)
Comment 10 Ross Burton 2009-11-24 17:26:48 UTC
Committed to git.