From c1da35dd762994ad3cb4bab18eac5729e40aaf42 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 17 Jun 2025 19:34:17 +0200 Subject: [PATCH] build --- handle_imported_video.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index d652155..9748c32 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -108,9 +108,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS): # myCmd = [ # "/usr/bin/ffmpeg", "-i", filename, "-vf", "hflip", "-c:a", "-codec", "copy", "-y", export_name # ] - myCmd = [ - "exiftool", "-rotation=180", filename - ] + myCmd = f"exiftool -rotation=180 {filename}" #Path = "~/Documents/File.txt" # filedate.File(Path).set( @@ -123,6 +121,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS): print(myCmd) print(myCmd) status, output = subprocess.getstatusoutput(myCmd) + print(output) #proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) # print(f"Fliping {filename} in {_DAY_DIR}...".ljust(100))