libmusicbrainz: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
mNo edit summary
(→‎Language Bindings: Actually there isn't any direct binding to libmusicbrainz. Replace this section with the more complete page for all third party alternatives)
 
(35 intermediate revisions by 12 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 2.x and below have been deprecated since they use the old [[RDF]] based [[Web Service]]. '''All new development should happen with the new [[XML Web Service]]''' or using libmusicbrainz version 3 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.io/libmusicbrainz/5.1.0/ API documentation].
As of version 3.x, the client library has used the [[XML Web Service]], and thus, is '''not''' compatible with version 2.x. There is a different [http://users.musicbrainz.org/~luks/docs/libmusicbrainz3 API] involved.


===Version 3.x===
==Download==


{|
{|
| [[Image:download.gif]] || [ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.2.tar.gz libmusicbrainz-3.0.2.tar.gz] (98 KB)<br/><small>(MD5: 648ecd43f7b80852419aaf73702bc23f)</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 2.x===


''Other releases are available on the [ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/ MusicBrainz FTP Server].''
: ''[[Image:Attention.png]] This version of the client library uses the old [[RDF]] [[Web Service]] and should not be used in new development.
: ''See [[Web Service]] for more details.
{|
| [[Image:download.gif]] || [ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.5.tar.gz libmusicbrainz-2.1.5.tar.gz] (512 KB)<br/><small>(MD5: d5e19bb77edd6ea798ce206bd05ccc5f)</small>
|}


=== Source code ===
==Language Bindings==


The source code is [https://github.com/metabrainz/libmusicbrainz available on GitHub] and can be downloaded with:
* The Python bindings for the [[MusicBrainz]] client library for the old RDF based web service are now included with libmusicbrainz. (See above) <br/>
git clone git://github.com/metabrainz/libmusicbrainz.git
* [[python-musicbrainz2|PythonMusicBrainz2]] Python bindings for the (new) [[XML Web Service|XML based web service]].
* Perl bindings for the (new) [[XML Web Service|XML based web service]]: [http://search.cpan.org/~bfaist/WebService-MusicBrainz-0.06/ WebService::MusicBrainz]
* [http://rbrainz.rubyforge.org Ruby bindings] for the (new) [[XML Web Service|XML based web service]].
* [http://pablotron.org/software/mb-ruby/ Ruby bindings] for the [[MusicBrainz]] client library (old RDF web service, '''not to be used for new development''').
* [http://search.cpan.org/search?query=MusicBrainz&mode=dist Perl bindings] [[http://www.punch.net/musicbrainz/perl/ Win32 PPMs]] for the [[MusicBrainz]] client library (old RDF web service, '''not to be used for new development''').
* [ftp://ftp.musicbrainz.org/pub/musicbrainz/MusicBrainzDotNet-2.1.1.zip C# bindings] for the [[MusicBrainz]] client library (2.1.1). (old web service, '''not to be used for new development''').
* [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|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==


==Third party alternatives==
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].


{{:MusicBrainz_API/Libraries/Third_Party}}
svn checkout http://svn.musicbrainz.org/libmusicbrainz/trunk libmusicbrainz


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

Latest revision as of 11:26, 28 October 2023

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

Third party alternatives