Hi there,
I'm loving music-metadata-browser. Nice work!
Every so often, though, when processing a file, it throws an error like the below for certain songs:
RangeError: offset is not uint
at checkOffset (index.js:1165)
at Uint8Array.readUInt32LE (index.js:1218)
at ID3v24TagMapper.postMap (ID3v24TagMapper.js:173)
at ID3v24TagMapper.mapGenericTag (GenericTagMapper.js:78)
at CombinedTagMapper.mapTag (CombinedTagMapper.js:42)
at MetadataCollector.toCommon (MetadataCollector.js:239)
at MetadataCollector.addTag (MetadataCollector.js:102)
at ID3v2Parser.addTag (ID3v2Parser.js:195)
at ID3v2Parser.parseId3Data (ID3v2Parser.js:189)
When I say "certain songs" I mean mp3 files, and that the error is consistent, in that it will always happen for some files and it will never happen on others.
What are some things to look at with regards to the file to determine why a problematic file is causing the error?
I've read through issue #15 but couldn't quite figure out how to troubleshoot the issue.
I dropped some of the files in question on the Audio Tag Analyzer, and compared those to "known good" files, but I'm not seeing thing that sticks out.
Any advice would be greatly appreciated.
P.S. I'm using "music-metadata-browser": "^1.1.1" in a create-react-app
Hi there,
I'm loving
music-metadata-browser. Nice work!Every so often, though, when processing a file, it throws an error like the below for certain songs:
When I say "certain songs" I mean mp3 files, and that the error is consistent, in that it will always happen for some files and it will never happen on others.
What are some things to look at with regards to the file to determine why a problematic file is causing the error?
I've read through issue #15 but couldn't quite figure out how to troubleshoot the issue.
I dropped some of the files in question on the Audio Tag Analyzer, and compared those to "known good" files, but I'm not seeing thing that sticks out.
Any advice would be greatly appreciated.
P.S. I'm using
"music-metadata-browser": "^1.1.1"in a create-react-app