Similarity Forum

General Category => General => Topic started by: icqtoni on September 18, 2019, 18:11:05

Title: Question about the tag version when customizing existing tags
Post by: icqtoni on September 18, 2019, 18:11:05
Hi,

I manage all tags in my collection with version ID3v2.3.
If I adapt a tag using a script, the version of the tag changes to ID3v2.4 (see Appendix).
Is that what you want and / or do I have the ability to do?

Here is my script:
function checkEmpty (value) {
     return! value || /^\s*$/.test(value);
}

var files = results.analysis.files;
for (var idx = 0; idx <files.length; ++ idx) {
     if (checkEmpty (files [idx] .tags.comment)) {
          log ("->" + Math.round (files [idx] .analysis.rating * 100));
          files [idx] .tags.comment = Math.round (files [idx] .analysis.rating * 100);
     }
}

Kind regards
icqtoni
Title: Re: Question about the tag version when customizing existing tags
Post by: Admin on September 18, 2019, 22:11:51
I see the problem, by default we set ID3v2.4 version of ID3v2 tags. You can't change it for now, we think about solution.