Skip to content
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: expected frame header but was not found. FLAC files parsed with id3v2 parser? #133

Closed
sspilleman opened this issue Oct 17, 2016 · 2 comments

Comments

@sspilleman
Copy link

Hi!

1st I'd like to say many thanks for offering and maintaining your lib, I like it a lot.

I'd like to share the following issue. When parsing FLAC files i get errors like this:

Error: expected frame header but was not found
    at seekFirstAudioFrame (/tmp/music/node_modules/musicmetadata/lib/id3v2.js:174:21)
    at /tmp/music/node_modules/musicmetadata/lib/id3v2.js:63:18
    at emitData (/tmp/music/node_modules/strtok2/lib/strtok.js:351:20)
    at Stream.dataListener (/tmp/music/node_modules/strtok2/lib/strtok.js:414:11)
    at emitOne (events.js:96:13)
    at Stream.emit (events.js:188:7)
    at Stream.<anonymous> (/tmp/music/node_modules/musicmetadata/lib/index.js:69:13)
    at Stream.g (events.js:291:16)
    at emitOne (events.js:96:13)
    at Stream.emit (events.js:188:7)

Looking @ the error is see the error is thrown by lib/id3v2.js. Is that correct at all? As I would assume that in case of flac files the parsing would be handled by lib/flac.js...

Any ideas?

Thanx!

Sander

@sspilleman sspilleman changed the title Error: expected frame header but was not found. looks like flac files are parsed with id3v2 parser Error: expected frame header but was not found. FLAC files parsed with id3v2 parser? Oct 17, 2016
@leetreveil
Copy link
Owner

Can you send me the file that's causing the error?

@leetreveil
Copy link
Owner

Did you send me the file for this? Feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants