mirror of
https://github.com/vinefeeder/TwinVine.git
synced 2026-07-15 18:10:04 +02:00
fault fix
This commit is contained in:
@@ -7,7 +7,7 @@ name = "envied"
|
|||||||
version = "1.4.8"
|
version = "1.4.8"
|
||||||
description = "Modular Movie, TV, and Music Archival Software."
|
description = "Modular Movie, TV, and Music Archival Software."
|
||||||
authors = [{ name = "rlaphoenix and others" }]
|
authors = [{ name = "rlaphoenix and others" }]
|
||||||
requires-python = ">=3.11,<3.14"
|
requires-python = ">=3.10,<3.13"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
keywords = [
|
keywords = [
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ class DASH:
|
|||||||
segment_duration = float(segment_template.get("duration")) or 1
|
segment_duration = float(segment_template.get("duration")) or 1
|
||||||
|
|
||||||
if not end_number:
|
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):
|
for s in range(start_number, end_number + 1):
|
||||||
segments.append(
|
segments.append(
|
||||||
@@ -485,6 +485,10 @@ class DASH:
|
|||||||
DOWNLOAD_CANCELLED.set() # skip pending track downloads
|
DOWNLOAD_CANCELLED.set() # skip pending track downloads
|
||||||
progress(downloaded="[red]FAILED")
|
progress(downloaded="[red]FAILED")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
# --- unchanged above ---
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
drm = None
|
drm = None
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ key_vaults:
|
|||||||
|
|
||||||
|
|
||||||
# Choose what software to use to download data
|
# 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
|
# Options: requests | aria2c | curl_impersonate | n_m3u8dl_re
|
||||||
# Can also be a mapping:
|
# Can also be a mapping:
|
||||||
# downloader:
|
# downloader:
|
||||||
|
|||||||
Reference in New Issue
Block a user