Comments (6)
Fixed d16530a and published to npm with 0.1.6
from node-id3.
Hello,
would you mind sending me the .mp3 file you're having troubles with to the email in the package.json?
from node-id3.
@Zazama - I sent the MP3 file. I also did some digging and found the culprit to be the cover art.
The file I sent has two cover art photos. The first is the true cover art which is 1 MB @ 1400x1400, the second is a wave pattern added by Beatport Pro which is 51 KB @ 1200x200.
If I remove either of the cover art, the script works fine.
Maybe something is getting multiplied? The max buffer size should be 2GB.
from node-id3.
Yeah, I took a small look at it.
Seems like there are two bugs:
- the second cover art frame isn't read at its start (maybe it's even trying to read in the middle of the first cover art frame)
- due to this, it reads random 4 bytes which can hold an extremly high number for the frame size, but the library should check if this size of a frame is bigger than the rest of the ID3-Tag.
I'm a bit sick right now, so I won't dig deeper until I'm better, but a fix shouldn't be too complicated when I'm on it. I could speculate and say it might be because of two present APICs (cover arts) which I've never tested before.
Sorry for the wait, hope it's not urgent.
from node-id3.
@Zazama Hope you are ok now. Is it possible to avoid reading the cover art data to prevent this issue as I am not utilizing cover arts in my app.
from node-id3.
Great! Thanks for the quick fix :)
from node-id3.
Related Issues (20)
- Explain in docs that `write` doesn't create new file =) HOT 4
- "releaseTime" tag not read from AIFF file HOT 6
- Duration not supported HOT 1
- Add constants for obscure tag values HOT 7
- update function does not take v4 tags into account
- Changes and fixes for new API release
- Updating tags in AIFF files makes tags/audio unreadable by other applications HOT 5
- Incorrect timestamps on Syncronized lyrics HOT 16
- Setting synchronisedLyrics to undefined throws an error HOT 4
- [BuG] MP3 File is corrupted HOT 8
- Not reading id3v1 HOT 1
- Support for audio formats other than mp3 HOT 4
- Support large files HOT 2
- Issues with metadata being read by certain players HOT 2
- Basic adding tags not working HOT 5
- iTunes/Apple Music GRP1 grouping tag is not supported
- Possible song corruption when editing metadata while playing the song. HOT 5
- Using CTOC Entry Count byte causes issue with large number of entries HOT 8
- Support Different Text Encodings
- Could you update 0.2.7 version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-id3.