From aa94ae5b898f7be3bb93d633a13ab00b080bcd69 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Mon, 26 May 2025 11:47:44 +0300 Subject: [PATCH] whv --- files/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/tasks.py b/files/tasks.py index 6ae3d19d..feed7748 100644 --- a/files/tasks.py +++ b/files/tasks.py @@ -912,7 +912,7 @@ def produce_video_chapters(chapter_id): timestamp = chapter["start"] title = chapter["title"] - output_filename = f"thumbnail_{i:02d}.jpg" # noqa + output_filename = f"thumbnail_{i:02d}.jpg" # noqa output_path = os.path.join(output_folder, output_filename) command = [settings.FFMPEG_COMMAND, "-y", "-ss", str(timestamp), "-i", video_path, "-vframes", "1", "-q:v", "2", "-s", f"{width}x{height}", output_path]