libtaginfo  0.2.0
TagInfo Documentation

libtaginfo is a wrapper library for taglib and alows access to media tags in an abstract way.

libtaginfo is a C++ library.

C and vala bindings are available with this library.

Known tag formats:

These tags are used with the following media files (extensions / mime):

There is an API for accessing the following media tags:

However, some media tags are not supported by some tag formats. (E.g. mod tags are very limited)

There is an API for accessing the following audio properties:

Getting Started

Libtaginfo provides a simple API which makes it possible to ignore the differences between tagging formats and format specific APIs which allow programmers to work with the features of specific tagging schemes.

Here's a very simple example with TagLib:

TagInfo::InfoRef ref("song.mp3");
ref->load();
TagLib::String artist = ref.info()->get_artist(); // artist == "Don van Vliet"

TagInfo::InfoRef ref2("song.ogg");
ref2.info()->set_album("Mambo No. 1");
ref2.save();

More examples can be found in the examples directory in the source code package.