Author Topic: Question about the tag version when customizing existing tags  (Read 147535 times)

icqtoni

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Question about the tag version when customizing existing tags
« Reply #105 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

Admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
    • View Profile
    • https://www.smilarityapp.com
Re: Question about the tag version when customizing existing tags
« Reply #106 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.