New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught URIError: URI malformed #22
Comments
I am having the same issue with an album "Putumayo Presents Acoustic Café" I'm using the minified library, but it is breaking on this line where 'n' is the album title: if (a) {
return new Buffer(n).toString()
} else {
return decodeURIComponent(escape(n))
} The escape is encoding the é as %E9 (Unicode) and the decodeURIComponent only works on UTF-8 characters. |
I saw this with an MP3 that had an image encoded in it, specifically http://traffic.libsyn.com/thefeed/003_thefeed.mp3 What is the purpose of this roundtrip? |
You can use this fork https://github.com/gbiryukov/id3 |
Hey, I've fixed this problem by replacing escape function for encodeURIComponent. So instead of decodeURIComponent(escape(n)) --> decodeURIComponent(encodeURIComponent(n)) |
With some files it return this error to the console
Here's one of the file that got the error: http://www.mediafire.com/listen/13evge2b3nw5l1o/Muzzy_Insignia.mp3
The text was updated successfully, but these errors were encountered: