Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
taglib/tag.h
✓ #include <taglib/tag.h>
Read audio file metadata using TagLib
#include <taglib/tag.h>
#include <taglib/fileref.h>
#include <iostream>
int main() {
TagLib::FileRef f("song.mp3");
if (!f.isNull() && f.tag()) {
TagLib::Tag *tag = f.tag();
std::cout << "Title: " << tag->title().to8Bit(true) << std::endl;
std::cout << "Artist: " << tag->artist().to8Bit(true) << std::endl;
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.