mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2025-10-23 15:11:08 +00:00
fix(dl): 🐛 Check for dovi_tool availability in hybrid mode
This commit is contained in:
@@ -400,6 +400,14 @@ class dl:
|
|||||||
self.tmdb_searched = False
|
self.tmdb_searched = False
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
|
# Check if dovi_tool is available when hybrid mode is requested
|
||||||
|
if any(r == Video.Range.HYBRID for r in range_):
|
||||||
|
from unshackle.core.binaries import DoviTool
|
||||||
|
if not DoviTool:
|
||||||
|
self.log.error("Unable to run hybrid mode: dovi_tool not detected")
|
||||||
|
self.log.error("Please install dovi_tool from https://github.com/quietvoid/dovi_tool")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
if cdm_only is None:
|
if cdm_only is None:
|
||||||
vaults_only = None
|
vaults_only = None
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user