From f1a68359747dd2a572b60d77dcba941785e0bc35 Mon Sep 17 00:00:00 2001 From: Abdussamet Kocak Date: Thu, 25 Jun 2026 08:46:51 +0300 Subject: [PATCH] fix(process-new-videos): call snot scan command --- process_new_videos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_new_videos.py b/process_new_videos.py index 6075703..ac13c16 100644 --- a/process_new_videos.py +++ b/process_new_videos.py @@ -10,7 +10,7 @@ logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(level logger = logging.getLogger(__name__) TARGET_DIR = Path("/mnt/box/files/_raw/prt/") -SCAN_SCRIPT_PATH = Path("~/_scripts/scan_vids.py").expanduser() +SCAN_SCRIPT_PATH = Path("~/_scripts/snot/snot.py").expanduser() VIDEO_EXTENSIONS = {".mkv", ".mp4"} @@ -38,7 +38,7 @@ def main(): src_path.rename(target_path) subprocess.run( - [str(SCAN_SCRIPT_PATH), str(target_path)], + [str(SCAN_SCRIPT_PATH), "scan", str(target_path)], text=True, check=True, )