libdiscid: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
(→‎Language bindings: add python-libdiscid (cython))
Line 35: Line 35:
** [http://benow.ca/projects/libdiscid-java/ http://benow.ca/projects/libdiscid-java/]
** [http://benow.ca/projects/libdiscid-java/ http://benow.ca/projects/libdiscid-java/]
* Python:
* Python:
** [https://python-discid.readthedocs.org python-discid], a binding for Python 2 and 3
** [https://python-discid.readthedocs.org python-discid], using ctypes (no compilation), Python 2 and 3
** [http://pythonhosted.org/python-libdiscid/ python-libdiscid], using cython (compiled), Python 2 and 3
** [[python-musicbrainz2]], this is not a direct wrapper, but contains functions to access libdiscid using its own API
** [[python-musicbrainz2]], no direct wrapper, contains functions to access libdiscid using its own API, Python 2 only
* Haskell - [http://hackage.haskell.org/package/MusicBrainz-libdiscid Hackage] ([https://github.com/atwupack/MusicBrainz-libdiscid GitHub])
* Haskell - [http://hackage.haskell.org/package/MusicBrainz-libdiscid Hackage] ([https://github.com/atwupack/MusicBrainz-libdiscid GitHub])



Revision as of 01:55, 12 April 2013

Products > libdiscid

libdiscid is a C library for creating MusicBrainz and freedb disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates an identifier which can be used to lookup the CD at MusicBrainz. Additionally, it provides a submission URL for adding the disc ID to the database and gathers ISRCs and the MCN (=UPC/EAN) from disc.

The interface of this library is new, but the disc ID algorithm and the operating system dependent CD-ROM/DVD-ROM access code have been ported from libmusicbrainz version 2.

For more info about the interface read the API documentation. The repository is at GitHub and bugs should be reported at the MusicBrainz bug tracker.

libdiscid is licensed under the GNU Lesser General Public License 2.1 or later.

Download

Source code:

Compiled packages:

Changes:

Language bindings

Tools based on libdiscid

  • ISRC#Resources, many ISRC submit tools are based on libdiscid or one of the bindings and can be used to add disc IDs and ISRCs.
  • Picard uses libdiscid to calculate the disc ID (lookup by CD)

See also