From 6a17b1b935cb22e0c4c6749629cd11cca7a1fc13 Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:42:16 -0700 Subject: [PATCH] Update subgen.py Removed double is_video_file check. --- subgen/subgen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index a1297c5..a830baf 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -480,8 +480,7 @@ def transcribe_existing(): for root, dirs, files in os.walk(path): for file in files: file_path = os.path.join(root, file) - if is_video_file(file_path): - gen_subtitles(path_mapping(file_path), transcribe_or_translate, False) + gen_subtitles(path_mapping(file_path), transcribe_or_translate, False) print("Finished searching and queueing files for transcription")