From bc911f48a7317fd627e77fb788ec6e6989ff1aae Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 17 Jun 2025 19:03:48 +0200 Subject: [PATCH] build --- handle_imported_video.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index 3c8ff2b..94bd113 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -110,19 +110,19 @@ if _ACTION == "flip": # modified = "3:00 PM, 04 May 2009", # accessed = "08/07/2014 18:30:45" # ) - os.chdir(_FULL_PATH) - create_date = filedate.File(filename).get() - if _TEST: - print(_FULL_PATH) - print(myCmd) - - proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) - print(f"Fliping {filename} to {export_name} in {_DAY_DIR}...".ljust(100)) - ff = FfmpegProgress(myCmd) - with tqdm(total=100, position=1, desc="Fliping") as pbar: - for progress in ff.run_command_with_progress(): - pbar.update(progress - pbar.n) - pbar.close() + os.chdir(_FULL_PATH) + create_date = filedate.File(filename).get() + if _TEST: + print(_FULL_PATH) + print(myCmd) + + proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) + print(f"Fliping {filename} to {export_name} in {_DAY_DIR}...".ljust(100)) + ff = FfmpegProgress(myCmd) + with tqdm(total=100, position=1, desc="Fliping") as pbar: + for progress in ff.run_command_with_progress(): + pbar.update(progress - pbar.n) + pbar.close() print(f"Done".ljust(130),end='', flush=True) # get the output