Notes on removing field values with map.clear()

Yannis Calotychos ycalot at gmail.com
Tue Mar 15 16:39:11 GMT 2022


I have tested 12.0 with a number of formats (aif, wav, flac, alsac, aac) and fields.
It mostly works as expected, except in the following cases :


____________________________________
Codec
	rif (aif, wav), mpg (mp3)
Fields
	LYRICS
	COMMENT
Notes
	Clear() writes an empty string to the file. It does not remove the field


____________________________________
Codec
	mp4 (aac, alac)
Fields
	BPM
	DISCNUMBER
	TRACKNUMBER
Notes
	Clear() writes bogus number to the file. It does not remove the field. (alac)
	Clear() writes "0" to the file. It does not remove the field. (aac)


____________________________________
Codec
	mp4 (aac, alac)
Fields
	COMPILATION
Notes
	Clear() does NOT do anything. Current value remains.



----------------------------
Not an urgent issue as one can set the values to an empty string.
Thanks 

Yannis Calotychos
http://smarttoolboxideas.com/Smart_Toolbox_Ideas/index.html <http://smarttoolboxideas.com/Smart_Toolbox_Ideas/index.html>

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


More information about the taglib-devel mailing list