Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Duration handling for broken flac files #287
I stumble upon some broken flac files in the wild that doesn't report a correct length (duration).
Prior to 1.36 they were reporting a duration of 0.0:
With 1.36 it's actually raising a ZeroDivisionError:
I think this was introduced by adding the bitrate info in this commit: d8aed5a
If you decide to handle this type of broken files should the bitrate be 0 ?