From 03c7f901e8c65dae759d43a7c4932881ca11a510 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sun, 1 Dec 2024 01:06:48 +0100 Subject: [PATCH] fixes output file extension --- bin/vcmp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vcmp b/bin/vcmp index 7e42d77..72ab703 100755 --- a/bin/vcmp +++ b/bin/vcmp @@ -206,7 +206,7 @@ def process_directory( # Determine destination path, remove source if already exists and requested target_path = destination_dir / filepath.relative_to(source_dir) - target_path = target_path.with_suffix(".cmp" + target_path.suffix) + target_path = target_path.with_suffix(".cmp.mp4") if target_path.exists(): if remove_source: logging.info(f"Removing source file {filepath} as compressed version exists")