We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc40027 commit 1a22b43Copy full SHA for 1a22b43
dist/jsmediatags.js
@@ -687,6 +687,14 @@ var ID3v2FrameReader = function () {
687
if (tags && tags.indexOf(frameId) === -1) {
688
continue;
689
}
690
+ // Workaround: MP3ext V3.3.17 places a non-compliant padding string at
691
+ // the end of the ID3v2 header. A string like "MP3ext V3.3.19(ansi)"
692
+ // is added multiple times at the end of the ID3 tag. More information
693
+ // about this issue can be found at
694
+ // https://github.com/aadsm/jsmediatags/issues/58#issuecomment-313865336
695
+ if (frameId === 'MP3e' || frameId === '\x00MP3' || frameId === '\x00\x00MP' || frameId === ' MP3') {
696
+ break;
697
+ }
698
699
var unsyncData;
700
if (flags && flags.format.unsynchronisation) {
0 commit comments