As you can see, I read the original file, I patch it with the data contained in my object tag then I save the patched file.
The problem is:
If I set id3v2 version to 3, I get TDRC is not supported in ID3v2.3.
And if I set id3v2 version to 4, I get TYER is not supported in ID3v2.4.
Note that to fill the tag object, I used the getter mp3tag.tags.year.
I think the problem is my original file as it already contains both TDRC and TYER tag and when mp3tag.js try to save it in strict mode, it messes up :(
I don't know what would be the better way to fix it, maybe having an option in the save function to delete the wrong frames ?
I try to use the "Year" tag but it seems saving the setter of the year tag struggle a bit.
Here is my code:
As you can see, I read the original file, I patch it with the data contained in my object
tag
then I save the patched file.The problem is: If I set id3v2 version to
3
, I getTDRC is not supported in ID3v2.3
. And if I set id3v2 version to4
, I getTYER is not supported in ID3v2.4
.Note that to fill the
tag
object, I used the gettermp3tag.tags.year
.I think the problem is my original file as it already contains both TDRC and TYER tag and when mp3tag.js try to save it in strict mode, it messes up :(
I don't know what would be the better way to fix it, maybe having an option in the
save
function to delete the wrong frames ?Thanks in advance :)