Writing COMMENTS field on MPEG / ID3v2

Yannis Calotychos ycalot at gmail.com
Tue Apr 12 21:16:02 BST 2022


So I presume there is no way to specify a description to the key?
Something like this for example:
	map.insert(“COMMENT:eng", TagLib::StringList(“Some Comment"));

Or alternatively,  
Is there a way to add a CommentsFrame directly to a PropertyMap?
taken from: PropertyMap map = f.file()->properties();

I would like to avoid rolling an alternative path to writing a file based on types of fields to write to the various formats.

thanks for any help.
yannis




> On 12 Apr 2022, at 7:49 PM, Urs Fleisch <urs.fleisch at gmail.com> wrote:
> 
> If nothing different is set, TagLib will set the "language" field of
> "COMM" frames to "XXX" which is defined in the standard
> https://id3.org/id3v2.4.0-structure (section 4.  ID3v2 frame
> overview):
> 
>> The three byte language field, present in several frames, is used to
>> describe the language of the frame's content, according to ISO-639-2
>> [ISO-639-2]. The language should be represented in lower case. If the
>> language is not known the string "XXX" should be used.
> 
> So this is correct, as is "eng" as set by iTunes, which is the
> ISO-639-2 code for English. With the properties interface, there seems
> to be no way of setting the "language" field. If you have to do this,
> you will have to use the lower level `CommentsFrame` class.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20220412/d6b7dc17/attachment-0001.htm>


More information about the taglib-devel mailing list