Skip to content

Commit

Permalink
Always parse ID3 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Saronson committed Dec 8, 2020
1 parent 54903a6 commit a5ff9f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/demux/id3.js
Expand Up @@ -184,12 +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);
} else if (frame.type) {
return ID3._decodeTextFrame(frame);
}

return undefined;
}

Expand Down

0 comments on commit a5ff9f6

Please sign in to comment.