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.
id3tag.h
✓ #include <id3tag.h>
Read the title tag from an MP3 file
#include <id3tag.h>
#include <stdio.h>
int main() {
struct id3_file *file = id3_file_open("song.mp3");
if (!file) return 1;
struct id3_tag *tag = id3_file_tag(file);
const struct id3_frame *frame = id3_tag_findframe(tag, "TIT2", 0);
if (frame) {
union id3_field *field = &frame->fields[0];
printf("Title: %s\n", id3_ucs4_latin1duplicate(id3_field_getstring(field)));
}
id3_file_close(file);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.