CI Report:
https://ci-tests.linuxserver.io/linuxserver/sabnzbd/nightly-e929a0c6-ls161/index.html
LinuxServer Changes:
Full Changelog: nightly-ee8d9bdc-ls160...nightly-e929a0c6-ls161
Remote Changes:
Use media duration for accurate sample detection (#3475)
- Use media duration for accurate sample detection
Enhances the is_sample() logic to reduce false positives for files
whose names contain "sample" or "proof" but are actually full-length
content.
Integrates the hachoir library to parse media files and extract their
duration. Files are only considered samples if their duration is less
than or equal to SAMPLE_MAX_DURATION (default 2 minutes).
If media duration cannot be determined (e.g., not a media file or
parsing fails), the detection falls back to the name-based approach.
- Refactor
is_samplefunction to accept single path argument