From a0f40cacd625581c427c18e3162e659f706f2b17 Mon Sep 17 00:00:00 2001 From: Lucas Vivo Date: Thu, 26 Nov 2026 13:43:04 +0100 Subject: [PATCH] feat(ffmpeg_handling): overwrite overwrite files immediatly after success --- ffmpeg_handling/src/ffmpeg_handling/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ffmpeg_handling/src/ffmpeg_handling/cli.py b/ffmpeg_handling/src/ffmpeg_handling/cli.py index f7dc28a..d0c1bd9 100755 --- a/ffmpeg_handling/src/ffmpeg_handling/cli.py +++ b/ffmpeg_handling/src/ffmpeg_handling/cli.py @@ -126,10 +126,10 @@ def _process_input(args, parser) -> int: files_move_from.append(output_path) files_move_to.append(media_file) - if args.overwrite and not args.dry_run: - overall_success = move_overwrite_file( - files_move_from, files_move_to, args - ) and overall_success + if args.overwrite and not args.dry_run: + overall_success = move_overwrite_file( + files_move_from, files_move_to, args + ) and overall_success return 0 if overall_success else 1