Skip to content

Commit 1a22b43

Browse files
committed
Update dist
1 parent bc40027 commit 1a22b43

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

dist/jsmediatags.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,14 @@ var ID3v2FrameReader = function () {
687687
if (tags && tags.indexOf(frameId) === -1) {
688688
continue;
689689
}
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+
}
690698

691699
var unsyncData;
692700
if (flags && flags.format.unsynchronisation) {

0 commit comments

Comments
 (0)