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

Handle case where Matroska tag target doesn't exist #987

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

ws
Copy link

@ws ws commented Jan 20, 2022

(Ab)using this library to extract tags from MKV files since it's the best Matroska parser I can find. Ran into an edge case where tag.target wasn't always present. I was able to fix by tweaking the logic slightly. Not sure you'll ever run into this in music files, but figured I'd open a PR just in case. Cheers!

@Borewit
Copy link
Owner

Borewit commented Jan 27, 2022

Thanks for sharing the improvement @ws.

If you can share a sample demonstrating the issue, I would be interested. Maybe that would allow me to turn it into a unit test.

@Borewit Borewit merged commit 37e7962 into Borewit:master Jan 27, 2022
@Borewit
Copy link
Owner

Borewit commented Jan 31, 2022

Part of v7.11.8

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

Successfully merging this pull request may close these issues.

None yet

2 participants