SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Adding a description to a id3v2 frame

Hi all,

I was using the Jaudiotagger library to tag some mp3 files, but I have a question concerning the FieldKey.

When trying to add a comment, I use the following code :

AudioFile f = AudioFileIO.read(testFile);
Tag tag = f.getTag();
tag.setField(FieldKey.COMMENT,“Encoded from cd”);
f.commit();

But If I do a view of the tag I get the following information

id3v2 tag info for test.mp3:
UFID (Unique file identifier): http://musicbrainz.org, 36 bytes
TYER (Year): 1998
COMM (Comments): () : Encoded from cd

I would like to specify what kind of comment I am talking about, thus receiving something like this

COMM (Comments): (Source): Encoded from cd

Can this be done using the jaudiotagger library ?

Thx

Yes, but you need to delve in to the ID3 specific api