From 35f9329d4ed6746057227b2d76588ad948fd263e Mon Sep 17 00:00:00 2001 From: McCloudS Date: Sat, 8 Feb 2025 10:50:01 -0700 Subject: [PATCH] Update subgen.py --- subgen.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subgen.py b/subgen.py index 573a525..a1223d7 100644 --- a/subgen.py +++ b/subgen.py @@ -1,4 +1,4 @@ -subgen_version = '2025.02.69' +subgen_version = '2025.02.70' from language_code import LanguageCode from datetime import datetime @@ -178,10 +178,8 @@ task_queue = DeduplicatedQueue() def transcription_worker(): while True: - if task_queue.is_idle(): - continue - task = task_queue.get(block=True, timeout=1) try: + task = task_queue.get(block=True, timeout=1) if "type" in task and task["type"] == "detect_language": detect_language_task(task['path']) elif 'Bazarr-' in task['path']: