Serial-ATA / lofty-rs

Audio metadata library
Apache License 2.0
184 stars 34 forks source link

probe: Add `ParseOptions::max_junk_bytes` #227

Closed Serial-ATA closed 1 year ago

Serial-ATA commented 1 year ago

This allows us to sift through junk bytes to find what we need.

Discovered through discussion #219.

sandersantema commented 1 year ago

This fixes the issue for me for all the tracks I had which weren't working, so afaik it is fixed :tada: Thanks a lot.

sandersantema commented 1 year ago

Just to confirm: this is expected to work without changing any options or setting the ParseOptions correct? That's the behavior I'm seeing in any case.

Serial-ATA commented 1 year ago

Yep, ParseOptions::max_junk_bytes defaults to 1024.