Skip to content
C/C++ library for accessing the MusicBrainz Cover Art Archive
C++ C CMake Shell
Latest commit 55f5ec0 Jul 13, 2015 @adhawkins adhawkins Merge pull request #10 from sebastinas/remove-unused-code
Remove unused code
Failed to load latest commit information.
cmake/modules Add FindLibXml2 similar to FindNeon and FindJansson Nov 5, 2013
developer Add script to generate and tag a release Nov 13, 2014
examples Finalize C API split Jul 5, 2015
include/coverart Update file header to match COPYING.txt Jan 9, 2014
src Remove unused code Jul 13, 2015
tests Finalize C API split Jul 5, 2015
.gitattributes Build archive from master to allow adding of checksums to tag Nov 13, 2014
.gitignore Finalize C API split Jul 5, 2015
CMakeLists.txt Fix install for out of tree builds Jul 6, 2015
COPYING.txt Add copy of LGPL Nov 5, 2013
Doxyfile.cmake Make doxygen output reproducible Feb 3, 2015
INSTALL.txt Add support for cross-compilation Sep 19, 2012
NEWS.txt Update files in preparation for initial beta release May 14, 2012 Finalize C API split Jul 5, 2015
libcoverart.pc.cmake Finalize C API split Jul 5, 2015
sample-json.txt Add sample JSON output Apr 12, 2012
valgrind.supp Suppressions file for Valgrind May 3, 2012

CoverArtArchive Client Library


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:

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++


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

Please submit bug reports to the MusicBrainz bug tracking system:

You can find out more about the MusicBrainz project by visiting its site:
Something went wrong with that request. Please try again.