perf(sample): download only the subtitle segments around the window

A segmented subtitle track took every segment in a --sample run. It now takes the window plus one segment on each side.
This commit is contained in:
imSp4rky
2026-10-11 19:14:14 -06:00
parent 4c2e74de80
commit b4136e1cf5
3 changed files with 34 additions and 11 deletions
+2 -1
View File
@@ -726,7 +726,8 @@ By default, `mkvmerge` muxes the tracks of a movie or an episode into a single M
audio track as one file with no segments and no segment index, or the title ends before the
window starts.
A sidecar subtitle file with `sidecar_format: original` stays whole.
A sidecar subtitle file with `sidecar_format: original` is not trimmed. It holds the segments around the
window, or the whole file when the track is one file.
!!! note "Music is never muxed"
A song skips the muxer. unshackle keeps the container that the service