forked from kenzuya/unshackle
feat(dash): add merge_segments to append segments during the download
Opt-in rolling merge for DASH video and audio: each contiguous segment is appended to the output as it lands, so the post-download "Merging" stage goes away. Decrypts the init segment eagerly when decrypt_segments is on, disables resume for the track, and skips subtitle tracks.
This commit is contained in:
@@ -158,6 +158,7 @@ class Config:
|
||||
self.decryption_map = {}
|
||||
self.decryption = decryption_cfg or "shaka"
|
||||
self.decrypt_segments: bool = bool(kwargs.get("decrypt_segments", False))
|
||||
self.merge_segments: bool = bool(kwargs.get("merge_segments", False))
|
||||
|
||||
self.theme: str = kwargs.get("theme") or "default"
|
||||
self.set_terminal_bg: bool = kwargs.get("set_terminal_bg", False)
|
||||
|
||||
Reference in New Issue
Block a user