fix(process-new-videos): call snot scan command
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user