Difference between revisions of "libmusicbrainz"

From MusicBrainz Wiki
Jump to navigationJump to search
(→‎Language Bindings: add WS/2 C# binding/library)
(→‎Language Bindings: DELETED, there are no actual bindings one should use. Libraries use the WS directly.)
Line 36: Line 36:


The MusicBrainz Client Library is licensed under the [http://www.gnu.org/copyleft/lgpl.html LGPL (GNU Lesser General Public License)].
The MusicBrainz Client Library is licensed under the [http://www.gnu.org/copyleft/lgpl.html LGPL (GNU Lesser General Public License)].

==Language Bindings==

'''note''': These bindings mostly don't need ''libmusicbrainz'' installed, but are direct bindings for the Web Service.

* Python:
** [https://github.com/alastair/python-musicbrainz-ngs python-musicbrainz-ngs] Python2/3 bindings for [[XML Web Service/Version 2| Version 2 of the Web Service]] (NGS)
** ''[[python-musicbrainz2|PythonMusicBrainz2]] Python 2 bindings for the (deprecated) [[XML Web Service/Version_1|XML based web service Version 1]]''
* Perl: ''[http://search.cpan.org/~bfaist/WebService-MusicBrainz-0.06/ WebService::MusicBrainz] bindings for the [[XML Web Service/Version 1|XML based web service WS/1]]''
* Java: [http://code.google.com/p/musicbrainzws2-java/ musicbrainzws2-java] for [[XML Web Service/Version 2|WS/2]] (NGS)
* Ruby:
** [https://github.com/dwo/musicbrainz-ruby musicbrain-ruby] for [[XML Web Service/Version 2|WS/2]] (NGS)
** [https://github.com/magnolia-fan/musicbrainz magnolia-fan/musicbrainz] (WS/2)
** ''[http://rbrainz.rubyforge.org RBrainz] for the (deprecated) [[XML Web Service/Version 1|XML based web service WS/1]]''
* PHP:
** [https://github.com/mikealmond/MusicBrainz PHP bindings for WS/2]
** ''[[phpbrainz]] PHP bindings for the (deprecated) [[XML Web Service/Version_1|XML based web service Version 1]]''
* C#/.NET:
** [https://github.com/avatar29A/MusicBrainz C# library] for WS/2
** ''[http://www.ok-edv.de C#/.NET library] for the [[MusicBrainz]] client library (3.0.1). (calculation of [[MusicBrainz]] DiscID is missing (FreeDB ID is supported)), WS/1?''
** ''[[musicbrainz-sharp]]: Fully managed C#/.NET library for accessing the [[XML Web Service/Version 1|XML based web service WS/1]]. (included support for calculation of MusicBrainz [[Disc ID|DiscID]]s)''
* Objective-C: [https://github.com/demosdemon/libmusicbrainz-objc libmusicbrainz-objc] (WS/2)
* Haskell:
** [http://hackage.haskell.org/package/MusicBrainz Haskell bindings for WS/2]
** [https://github.com/ocharles/haskell-musicbrainz-ws2 haskell-musicbrainz-ws2]
* common lisp: [https://github.com/0/cl-musicbrainz cl-musicbrainz] (WS/2)





Revision as of 10:49, 12 May 2013

Products > libmusicbrainz

The MusicBrainz Client Library (libmusicbrainz), also known as mb_client, is a development library geared towards developers who wish to add MusicBrainz lookup capabilities to their applications. The library supports Windows, Linux and Mac OS X, with packages released for the RedHat and Debian distributions.

Version 4.x and greater supports the latest version of the MusicBrainz web service and are not backwards compatible with earlier versions. As of 2011, version 3.x and below have been deprecated.

Version 5.x has been introduced to enable easier inclusion into Debian due to a conflicting package name. There are no changes between 5.0.0 and 4.0.2, with the exception of a new include directory name, and the removal of deprecated functions. However, all future work is likely to be carried out on version 5.x.

If you are looking for a complete, usable program to run, please try out Picard.

Documentation

For details on how to use this library, please take a look at the API documentation.

Download

download.gif libmusicbrainz-5.0.1.tar.gz (108 KB)
(MD5: a0406b94c341c2b52ec0fe98f57cadf3)


Version 4.x is now deprecated. Please use v5.x for all new development.

download.gif libmusicbrainz-4.0.3.tar.gz (108 KB)
(MD5: 19b43a543d338751e9dc524f6236892b)

Other releases are available on the MusicBrainz FTP Server.

Source code

The source code is available on GitHub and can be downloaded with:

git clone git://github.com/metabrainz/libmusicbrainz.git

License

The MusicBrainz Client Library is licensed under the LGPL (GNU Lesser General Public License).