From 241ce77c3b0553d51878b35a7af8daea96aa97cc Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 25 Sep 2024 09:33:48 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/handle_imported_video.py b/handle_imported_video.py index 712ff73..3de3e7a 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -130,6 +130,15 @@ if _ACTION == "join": # print(parts) if len(parts) == 1: shutil.move(parts[0], export_name) + try: + shutil.move(parts[0].replace("MP4", "THM"), _PROCESSED) + except: + print(f"Failed to move {parts[0].replace("MP4", "THM")}") + + try: + shutil.move(parts[0].replace("MP4", "LRV").replace("GH","GL"), _PROCESSED) + except: + print(f"Failed to move {parts[0].replace("MP4", "LRV")}") continue # print(type(parts)) #ffmpeg -i concat:"input1.mp4|input2.mp4" output.mp4