mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 15:35:06 +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:
@@ -675,8 +675,8 @@ class HLS:
|
||||
log = logging.getLogger("HLS")
|
||||
assert isinstance(track.url, str)
|
||||
|
||||
if track.from_file:
|
||||
master = m3u8.load(str(track.from_file))
|
||||
if (text := track.held_playlist()) is not None:
|
||||
master = m3u8.loads(text, uri=track.url)
|
||||
else:
|
||||
response = session.get(track.url)
|
||||
if not isinstance(response, (requests.Response, RnetResponse)):
|
||||
|
||||
Reference in New Issue
Block a user