-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Error: "Invalid FLAC preamble" for streams in FLAC format #2034
Comments
I have updated the issue because I was not explicitly setting the mime type, instead I was relying on automatic detection which would set the OGG parser for FLAC and fail. |
Interesting problem @bojanvidanovic. The MIME type is But I won't work. What I suspect is that the stream is not formatted like a FLAC file, but it is an Ogg stream carrying FLAC. And the Ogg/FLAC combination is not implemented. I created branch which will throw a more specific error: music-metadata/lib/ogg/OggParser.ts Line 119 in 7258478
Which can be triggered with music-metadata/test/test-http.ts Lines 69 to 84 in 7258478
Sorry, I do not have a lot time lately. |
Hi,
I'm getting an error
Error: Invalid FLAC preamble
when I try to get metadata from a stream in FLAC format.Here is what I did:
It works fine with other formats except for FLAC, and I think you can probably reproduce it with the above configuration.
Tested with the latest Chrome and Firefox.
Let me know if you need any more details.
Thanks.
The text was updated successfully, but these errors were encountered: