From 101a6e1fe14395931eabb599c3c477bd76bd36a8 Mon Sep 17 00:00:00 2001 From: w33b Date: Sat, 21 Mar 2026 15:39:31 +0100 Subject: [PATCH] Fix skipping encode on resume --- utils/encode_downloads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/encode_downloads.py b/utils/encode_downloads.py index c8e2e08..5ece5e8 100644 --- a/utils/encode_downloads.py +++ b/utils/encode_downloads.py @@ -24,7 +24,7 @@ def _encode_video( print(f"Encoding {preset['h']}p AV1") cmd = [ - "ffmpeg", + "ffmpeg", "-v", "quiet", "-stats", "-i", preset['input_video'], "-i", source_video, "-map", "0:v:0", # Video from upscale or interpolated file @@ -77,7 +77,7 @@ def encode_downloads( if os.path.exists(mux_out): print(f'Skipped {preset['h']}p AV1 Encode') - return + continue _encode_video(preset, source_video, tmp_out, hentai_title, input_aspect) _remux_video(tmp_out, mux_out)