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 676749 - lib: Add libmusicbrainz5 support
lib: Add libmusicbrainz5 support
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks: 677286
 
 
Reported: 2012-05-24 15:45 UTC by Bastien Nocera
Modified: 2012-06-16 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lib: Add libmusicbrainz5 support (23.43 KB, patch)
2012-05-24 15:45 UTC, Bastien Nocera
none Details | Review
drop musicbrainz 3 + 4, use 5 (44.64 KB, patch)
2012-06-01 13:28 UTC, Jon Dowland
none Details | Review
Update sound-juicer to use version 5 of musicbrainz. (62.64 KB, patch)
2012-06-13 21:45 UTC, Jon Dowland
committed Details | Review

Description Bastien Nocera 2012-05-24 15:45:01 UTC
.
Comment 1 Bastien Nocera 2012-05-24 15:45:03 UTC
Created attachment 214876 [details] [review]
lib: Add libmusicbrainz5 support

Untested.
Comment 2 Christophe Fergeau 2012-05-24 15:54:54 UTC
I think we should just drop libmusicbrainz4 support, not much point in keeping it around imo.
Comment 3 Ross Burton 2012-05-24 16:05:06 UTC
Review of attachment 214876 [details] [review]:

Isn't libmusicbrainz5 just v4 with a bumped soname?  Just checking for libmusicbrainz4 or libmusicbrainz5 at configure time should do the job.
Comment 4 Christophe Fergeau 2012-05-24 16:09:24 UTC
Bumped soname + s/mb4_/mb5_ everywhere + a few deprecated functions dropped. things would be too easy otherwise ;)
Comment 5 Ross Burton 2012-05-24 16:15:06 UTC
Review of attachment 214876 [details] [review]:

Ha, typical.

Yes, let's just drop mb4 support.
Comment 6 Jon Dowland 2012-06-01 13:28:36 UTC
Created attachment 215411 [details] [review]
drop musicbrainz 3 + 4, use 5

Do you want to drop mb3 support as well?  I hacked this up this morning. Testing limited to compiling, running sound-juicer and observing correct metadata for a single-disc release, using ldd to confirm it was linking to the right lib.

Sadly the only multi-disc release I have here does not read properly (suspect Sony DRM) so I haven't been able to test that (which was the driver for me to look at this)
Comment 7 Christophe Fergeau 2012-06-01 13:37:07 UTC
Yeah, let's drop mb3 as well, it's no longer working anyway. However, I'd prefer to merge the musicbrainz bits from bug #661646 before committing this patch as I'm worried the 2 will badly commit, and the mb5 patch is mostly some sed work(?)
Comment 8 Jon Dowland 2012-06-12 20:36:49 UTC
I've just re-tried my patch here and it isn't presenting the metadata for any multi-disc albums for me, sadly. More work needed.
Comment 9 Jon Dowland 2012-06-13 20:54:49 UTC
I think I have a working one now; just doing a rip and listen test and some cleanup.
Comment 10 Jon Dowland 2012-06-13 21:45:25 UTC
Created attachment 216349 [details] [review]
Update sound-juicer to use version 5 of musicbrainz.

Tested with two multi-disc releases and it worked fine for both.
Comment 11 Christophe Fergeau 2012-06-16 11:30:40 UTC
I've pushed this, since I've pushed the changes from bug #661646
first, I had to fix a few conflicts and I edited the commit log to make
it more accurate