From dc08a17fbf7a3f51e47be83d6bf93ca18f5142e1 Mon Sep 17 00:00:00 2001 From: Meisterlala <6453306+Meisterlala@users.noreply.github.com> Date: Sun, 30 Nov 2025 16:14:58 +0100 Subject: [PATCH] mode idle --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 2d3e213..47d08f2 100644 --- a/main.py +++ b/main.py @@ -346,6 +346,7 @@ def main(): else: # Interruptible longer sleep (60s) print("No files to process. Sleeping for 60 seconds...") + current_state.state("idle") for _ in range(600): # 600 * 0.1 = 60s if shutdown_event.is_set(): break @@ -642,6 +643,7 @@ def process_file(file_path: Path): total_files_transcoded.inc() current_state.state("idle") current_file.info({"file": ""}) + current_state.state("idle") # Scan "INPUT_DIR" for all files -- knotmirror 0.0.1