mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 06:25:10 +00:00
feat(hls): carry a held media playlist over --remote and export, inflate gzip segments, add own_stream_only mux opt-in
This commit is contained in:
@@ -201,6 +201,8 @@ def playlist_track(text: str, init_data: bytes = b"") -> Video:
|
||||
track.url = "https://example.test/video.m3u8"
|
||||
track.descriptor = Video.Descriptor.HLS
|
||||
track.drm = None
|
||||
track.data = {}
|
||||
track.from_file = None
|
||||
track.needs_drm_loading = True
|
||||
track.session = RouteSession({"video.m3u8": text.encode(), "init.mp4": init_data})
|
||||
return track
|
||||
|
||||
Reference in New Issue
Block a user