mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-10 16:39:01 +00:00
Update dl.py
This commit is contained in:
@@ -918,6 +918,10 @@ class dl:
|
|||||||
self.log.error("--require-subs and --s-lang cannot be used together")
|
self.log.error("--require-subs and --s-lang cannot be used together")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
if select_titles and wanted:
|
||||||
|
self.log.error("--select-titles and -w/--wanted cannot be used together")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Check if dovi_tool is available when hybrid mode is requested
|
# Check if dovi_tool is available when hybrid mode is requested
|
||||||
if any(r == Video.Range.HYBRID for r in range_):
|
if any(r == Video.Range.HYBRID for r in range_):
|
||||||
from unshackle.core.binaries import DoviTool
|
from unshackle.core.binaries import DoviTool
|
||||||
@@ -1105,7 +1109,7 @@ class dl:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not selected_ui_idx:
|
if not selected_ui_idx:
|
||||||
console.print(Padding(":x: Selected Cancelled...", (0, 5, 1, 5)))
|
console.print(Padding(":x: Selection Cancelled...", (0, 5, 1, 5)))
|
||||||
return
|
return
|
||||||
|
|
||||||
selection_end = time.time()
|
selection_end = time.time()
|
||||||
@@ -1730,7 +1734,6 @@ class dl:
|
|||||||
licence=partial(
|
licence=partial(
|
||||||
service.get_playready_license
|
service.get_playready_license
|
||||||
if (is_playready_cdm(self.cdm))
|
if (is_playready_cdm(self.cdm))
|
||||||
and hasattr(service, "get_playready_license")
|
|
||||||
else service.get_widevine_license,
|
else service.get_widevine_license,
|
||||||
title=title,
|
title=title,
|
||||||
track=track,
|
track=track,
|
||||||
|
|||||||
Reference in New Issue
Block a user