[mb-devel] Volunteer needed for porting libdiscid to FreeBSD

Matthias Friedrich matt at mafr.de
Tue Sep 5 13:21:28 UTC 2006


Hi,

some of you might know that libmusicbrainz2 has reached the end of its
life cycle. Luks' new libmusicbrainz3 and also python-musicbrainz2 (a
dependency for picard) use the new web service and depend on libdiscid
to calculate MusicBrainz DiscIDs from Audio CDs.

I published a 0.1.0 release of libdiscid some time ago which supports
Linux, Darwin and Windows, but has no support for the various BSD
derivates yet. What I need now is a volunteer for porting the
libmusicbrainz2 code (written in C++) to libdiscid. To get you going, I
created a snapshot [1] which includes a template for FreeBSD. I copied
most of the code over, but of course I couldn't test it.

It isn't much work for an average C coder, but it has to be made sure
that the new implementation creates the same DiscIDs as the Linux
implementation. This has to be tested with a few Audio CDs, especially
with some that have trailing data tracks.

You can use the Linux implementation in src/disc_linux.c and the code
from libmusicbrainz2 [2] for reference. The build system should already
be working, all you have to do is fill in src/disc_freebsd.c.

If you're interested, please post a reply to this mail.

Thanks in advance,
  Matthias

[1] http://users.musicbrainz.org/~matt/libdiscid_freebsd.tar.gz
[2] http://bugs.musicbrainz.org/browser/libmusicbrainz/trunk/osdep/mb_freebsd.cpp



More information about the MusicBrainz-devel mailing list