From 16a684c77f4abfe92f767cc9bd80c775dfef752a Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 29 Jul 2025 17:47:27 +0000 Subject: [PATCH] =?UTF-8?q?fix(dl):=20=F0=9F=90=9B=20Check=20for=20dovi=5F?= =?UTF-8?q?tool=20availability=20in=20hybrid=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unshackle/commands/dl.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unshackle/commands/dl.py b/unshackle/commands/dl.py index 7af5ed9..b72c5f1 100644 --- a/unshackle/commands/dl.py +++ b/unshackle/commands/dl.py @@ -400,6 +400,14 @@ class dl: self.tmdb_searched = False 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: vaults_only = None else: