This is a patch release that fixes an issue with ID3v2 tag reading.
Fixes
- Improve handling of corrupt ID3v2 tags
- As brought up by @stuartambient, entire MP3 files can load incorrectly if ID3v2 tags are corrupted (as often happens with ID3v2.4 tags generated by iTunes)
- Improves error handling such that corrupt ID3v2 tags are read up until the corrupt frame.
- Valid frames are still readable
- MPEG header reading will begin at the end of the ID3v2 tag regardless of corruption status
- ID3v2 tags can be rewritten successfully even if the tag is corrupted
Special Thanks
- @stuartambient for supplying test files to expose corruption
📦 NPM Link: https://www.npmjs.com/package/node-taglib-sharp/v/6.0.1