fault fix

This commit is contained in:
VineFeeder
2025-11-05 13:49:46 +00:00
parent 5c3e7d5f93
commit 4847653f50
3 changed files with 7 additions and 3 deletions
@@ -384,7 +384,7 @@ class DASH:
segment_duration = float(segment_template.get("duration")) or 1
if not end_number:
end_number = math.ceil(period_duration / (segment_duration / segment_timescale))
end_number = math.floor(period_duration / (segment_duration / segment_timescale))
for s in range(start_number, end_number + 1):
segments.append(
@@ -485,6 +485,10 @@ class DASH:
DOWNLOAD_CANCELLED.set() # skip pending track downloads
progress(downloaded="[red]FAILED")
raise
# --- unchanged above ---
else:
drm = None
@@ -74,7 +74,7 @@ key_vaults:
# Choose what software to use to download data
downloader: aria2c # Caution: n_m3u8dl_re has issues on Windows
downloader: n_m3u8dl_re
# Options: requests | aria2c | curl_impersonate | n_m3u8dl_re
# Can also be a mapping:
# downloader: