Skip to content
pvtcupcakes edited this page Sep 13, 2010 · 3 revisions

Welcome to the kajamtag wiki!

Developers Guide:
After installing the library, link to it with GCC. -lkajamtag
Include in C: #include <kajamtag/kajamtag.h>
Include in C++:
extern “C” {
#include <kajamtag/kajamtag.h>
}
I’m not sure why it needs the extern “C”, I had my header wrapped in extern “C” anyway. I’ll figure it out eventually.

To parse a tag: kajamtag_init(char* musicFile);
Get tag data:
char* k_getTitle();
char* k_getArtist();
char* k_getAlbum();
I’m still working on stabilizing everything; once that’s done, I’ll work on adding more recognized tags like year, genre, or composer.

If Kajamtag returns “BAD_TAG”, that means the tag format was not recognized.

Clone this wiki locally