mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-17 22:45:06 +00:00
Merge branch 'dev' into feat/downloader-speed
# Conflicts: # unshackle/core/api/download_manager.py # unshackle/core/downloaders/requests.py # unshackle/core/manifests/dash.py # unshackle/core/session.py # unshackle/core/utils/webvtt.py
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Offline unit tests for DASH._collapsible_single_url, the guard that decides when a
|
||||
"""Offline unit tests for DASH.collapsible_single_url, the guard that decides when a
|
||||
byte-range track (SegmentBase / ranged SegmentList) can be downloaded as one whole
|
||||
resource instead of per-segment files + merge."""
|
||||
|
||||
@@ -12,7 +12,7 @@ URL = "https://cdn/media.mp4"
|
||||
|
||||
|
||||
def collapsible(segments, init_len: Optional[int], is_subtitle: bool = False) -> bool:
|
||||
return DASH._collapsible_single_url(is_subtitle, segments, init_len)
|
||||
return DASH.collapsible_single_url(is_subtitle, segments, init_len)
|
||||
|
||||
|
||||
def test_segmentbase_single_range_eligible():
|
||||
|
||||
Reference in New Issue
Block a user