Skip to content

Improve MP3 detection - #454

Merged
drewnoakes merged 3 commits into
masterfrom
mp3-detection
Jan 15, 2020
Merged

Improve MP3 detection#454
drewnoakes merged 3 commits into
masterfrom
mp3-detection

Conversation

@drewnoakes

Copy link
Copy Markdown
Owner

Relates to #328 and #450.

MP3 headers cannot be reliably detected using the prefix-tree approach. This PR ports part of drewnoakes/metadata-extractor-dotnet#233, which introduced an interface for custom type check logic.

It then uses that extension point to add enhanced MP3 detection.

Rather than hard coding this logic in FileTypeDetector, introduce an
interface for extension points and use it instead.
@drewnoakes
drewnoakes merged commit bb78cb0 into master Jan 15, 2020
@drewnoakes
drewnoakes deleted the mp3-detection branch January 15, 2020 01:57
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.

1 participant