libmusicbrainz: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(Added Language Bindings section (analogous to the libcoverart page), with my .NET implementation)
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<small>[[Products]] > libmusicbrainz </small>
<small>[[Products]] > libmusicbrainz </small>


The libmusicbrainz (also known as '''mb_client''' or '''MusicBrainz Client Library''') is a development library geared towards developers who wish to add [[MusicBrainz]] lookup capabilities to their applications. If you are looking for a complete, usable program to run, please try out [[Picard]].
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.


libmusicbrainz version 3.x and below have been deprecated since they use the old [[XML Web Service/Version 1]] or [[RDF]] (now removed) based [[Web Service]]. '''All new development should happen with the new [[XML Web Service/Version 2]]''' or using libmusicbrainz version 4 or greater.
Version 5.x and greater support the latest version of the MusicBrainz [[XML Web Service/Version 2|web service]] and are not backwards compatible with earlier versions. ''As of 2011, version 3.x and below have been deprecated.''


If you are looking for a complete, usable program to run, please try out [[Picard]].
The libmusicbrainz is officially supported in 32 bit Windows (95, 98, ME, NT, 2000, XP), Linux and Mac OS X, with packages released for the RedHat and debian distributions. For more details on how to use this library, please take a look at the [[Client HOWTO|ClientHOWTO]].


==Download==
== Documentation ==


For details on how to use this library, please take a look at the [http://metabrainz.github.com/libmusicbrainz/5.1.0/ API documentation].
As of version 4.x, the client library uses the [[XML Web Service/Version 2]]. It is not backward compatible with previous versions. There is a new [http://users.musicbrainz.org/~luks/docs/libmusicbrainz4 API] involved.


===Version 4.x===
==Download==


{|
{|
| [[Image:download.gif]] || [ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-4.0.0beta2.tar.gz libmusicbrainz-4.0.0beta2.tar.gz] (124 KB)<br/><small>(MD5: 5ee92670fd749a357b0737750f8ece68)</small>
| [[Image:download.gif]] || [https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-5.1.0.tar.gz libmusicbrainz-5.1.0.tar.gz] (108 KB)<br/><small>(MD5: 4cc5556aa40ff7ab8f8cb83965535bc3)</small>
|}
|}


===Version 3.x===


''Other releases are available on the [ftp://ftp.musicbrainz.org/pub/musicbrainz/ MusicBrainz FTP Server].''
: ''[[Image:Attention.png]] This version of the client library uses the old [[XML Web Service/Version 1]] and should not be used in new development.


=== Source code ===
{|
| [[Image:download.gif]] || [ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.3.tar.gz libmusicbrainz-3.0.3.tar.gz] (104 KB)<br/><small>(MD5: f4824d0a75bdeeef1e45cc88de7bb58a)</small>
|}


The source code is [https://github.com/metabrainz/libmusicbrainz available on GitHub] and can be downloaded with:
==Language Bindings==
git clone git://github.com/metabrainz/libmusicbrainz.git

* [[python-musicbrainz2|PythonMusicBrainz2]] Python bindings for the [[XML Web Service/Version_1|XML based web service]].
* Perl bindings for the [[XML Web Service/Version 1|XML based web service]]: [http://search.cpan.org/~bfaist/WebService-MusicBrainz-0.06/ WebService::MusicBrainz]
* [http://rbrainz.rubyforge.org Ruby bindings] for the [[XML Web Service/Version 1|XML based web service]].
* [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) - '''help is appreciated''').
* [[Musicbrainz Sharp|musicbrainz-sharp]]: Fully managed C#/.NET library for accessing the [[XML Web Service/Version 1|XML based web service]]. (included support for calculation of MusicBrainz [[Disc ID|DiscID]]s)

''Other releases are available on the [ftp://ftp.musicbrainz.org/pub/musicbrainz/data/ MusicBrainz FTP Server].''


==License==
==License==


The '''libmusicbrainz''' 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)].


==Get Source Code==
==Language Bindings==

The source code of '''libmusicbrainz''' is available using anonymous Subversion access. Read the [[Subversion]] document for instructions on how to use Subversion and checkout the '''libmusicbrainz''' source code. Alternatively, you can browse the '''libmusicbrainz''' Subversion repository directly using the [http://bugs.musicbrainz.org/browser/libmusicbrainz/ source browser].


* .NET: [https://github.com/Zastai/MetaBrainz.MusicBrainz MetaBrainz.MusicBrainz] ([https://www.nuget.org/packages/MetaBrainz.MusicBrainz/ NuGet Package])
svn checkout http://svn.musicbrainz.org/libmusicbrainz/trunk libmusicbrainz


[[Category:WikiDocs Page]] [[Category:Products]] [[Category:Development]]
[[Category:WikiDocs Page]] [[Category:Products]] [[Category:Development]]

Revision as of 18:17, 22 March 2020

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 5.x and greater support 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.

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.1.0.tar.gz (108 KB)
(MD5: 4cc5556aa40ff7ab8f8cb83965535bc3)


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).

Language Bindings