[mb-devel] Ruby bindings for libdiscid

Philipp Wolfer phw at rubyforge.org
Sat Jun 2 15:55:05 UTC 2007


Hello,

since the Ruby bindings for libdiscid mentioned on
http://musicbrainz.org/doc/libdiscid don't seem to be available
anymore I have written my own. I have just released mb-discid 0.1.0 as
a source gem.

MB-DiscID supports already all the features of libdiscid and should be
ready for use. It is available for download on
http://rubyforge.org/frs/?group_id=3677 or as a gem via "gem install
mb-discid". You need a compiler and the ruby and libdiscid development
files in order to install it.

For an example on how to use the library have a look at the file
"examples/discid.rb" which is included in the package. It should be
pretty clear.

There are yet no binary releases for Windows or MacOS and I haven't
succeeded in building the extension on Windows (using Visual Studio
2005 Express). But I would like to provide binary releases for
platforms where a build chain is not easily available. So if you have
some experience on building ruby extension on Windows or Mac and want
to help out I would be glad to hear from you.

If you find any bugs or have suggestions for improvements please write
me or use the tracker on Rubyforge
(http://rubyforge.org/tracker/?group_id=3677).

Just a quick note about the main project RBrainz, for which mb-discid
was developed: RBrainz will provide an interface to the MB webservice.
It is not complete, yet. The current release 0.1.1 doesn't support
collections, but support for this is already in SVN. So you can expect
a working release in the next weaks.

-- 
Philipp Wolfer



More information about the MusicBrainz-devel mailing list