C/C++ library for accessing the MusicBrainz Cover Art Archive
C++ CMake C Shell
Latest commit b328625 Oct 3, 2016 @mineo mineo committed with adhawkins for make → for making
Permalink
Failed to load latest commit information.
cmake/modules Add FindLibXml2 similar to FindNeon and FindJansson Nov 5, 2013
developer
examples
include/coverart
src Remove unused code Jul 13, 2015
tests
.gitattributes
.gitignore
CMakeLists.txt
COPYING.txt
Doxyfile.cmake
INSTALL.txt Added libxml2 to dependency list and fixed formatting of Neon Sep 25, 2016
NEWS.txt Update files in preparation for initial beta release May 14, 2012
README.md Finalize C API split Jul 5, 2015
config.h.cmake
libcoverart.pc.cmake
libcoverartcc.pc.cmake
sample-json.txt
valgrind.supp

README.md

CoverArtArchive Client Library

Documentation

To get started quickly have a look at the examples directory which contains various sample programs. API documentation can be generated using Doxygen. The online version of the API documentation can be found at:

http://metabrainz.github.com/libcoverart/

Compiling and Linking

This package provides a pkg-config script that returns the necessary compiler and linker flags, as well as the version number. To build a small sample program using the C++ API one would use:

g++ -o test_app test_app.cpp `pkg-config libcoverartcc --cflags --libs`

To build a small sample program using the C API one would use:

gcc -o test_app test_app.c `pkgconfig libcoverart --cflags --libs`

If you don't want/can't use pkg-config and you are using the C API, make sure you link in the C++ standard library:

gcc -o test_app test_app.c -lcoverart -lm -lstdc++

Contact

If you have any questions about this library, feel free to ask on the MusicBrainz development mailing list:

http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

Please submit bug reports to the MusicBrainz bug tracking system:

http://tickets.musicbrainz.org/browse/LCA

You can find out more about the MusicBrainz project by visiting its site:

http://musicbrainz.org/