[id3lib-devel] ID3v2.3.0
Brought to you by:
t1mpy
|
From: Thomas S. <to...@gm...> - 2010-08-20 07:19:18
|
Hi there,
I am using id3lib 3.8.3 to implement an application that tags my MP3
files. This is what I am doing:
// create a tag
ID3_Tag *tag = new ID3_Tag(filename.c_str());
ID3_Field *id3_field;
// tag the file
ID3_Frame *title_frame = new ID3_Frame(ID3FID_TITLE);
if((id3_field = title_frame->GetField(ID3FN_TEXT))) {
id3_field->Set(podcast->get_title().c_str());
tag->AttachFrame(title_frame);
}
...
// setup rendering parameters
tag->SetUnsync(true);
tag->SetExtendedHeader(true);
tag->SetCompression(false);
tag->SetPadding(true);
tag->Update(ID3TT_ID3V1 |ID3TT_ID3V2);
Unfortunately, the program generates ID3v1 tags only. I want to generate
ID3v2.3.0 tags. Any suggestions?
Greetings
Thomas
|