Skip to content

Commit

Permalink
Merge pull request #3284 from video-dev/update-id3-parsing
Browse files Browse the repository at this point in the history
Always parse ID3 tags if type is present on the ID3 Frame
  • Loading branch information
robwalch authored and Rob Walch committed Dec 8, 2020
1 parent caa633f commit 4b8e6e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/demux/id3.js
Expand Up @@ -184,13 +184,11 @@ class ID3 {
static _decodeFrame (frame) {
if (frame.type === 'PRIV') {
return ID3._decodePrivFrame(frame);
} else if (frame.type[0] === 'T') {
return ID3._decodeTextFrame(frame);
} else if (frame.type[0] === 'W') {
return ID3._decodeURLFrame(frame);
}

return undefined;
return ID3._decodeTextFrame(frame);
}

static _readTimeStamp (timeStampFrame) {
Expand Down

0 comments on commit 4b8e6e6

Please sign in to comment.