feat(ffmpeg_handling): overwrite overwrite files immediatly after success
FFmpeg Handling CI / build (push) Successful in 27s
FFmpeg Handling CI / test (push) Successful in 52s
FFmpeg Handling CI / lint (push) Successful in 7s
FFmpeg Handling CI / install (vivohost) (push) Successful in 3s
FFmpeg Handling CI / install (mediahost) (push) Successful in 1s
FFmpeg Handling CI / install (serverhost) (push) Successful in 17s
FFmpeg Handling CI / install (quiethost) (push) Successful in 3s
FFmpeg Handling CI / build (push) Successful in 27s
FFmpeg Handling CI / test (push) Successful in 52s
FFmpeg Handling CI / lint (push) Successful in 7s
FFmpeg Handling CI / install (vivohost) (push) Successful in 3s
FFmpeg Handling CI / install (mediahost) (push) Successful in 1s
FFmpeg Handling CI / install (serverhost) (push) Successful in 17s
FFmpeg Handling CI / install (quiethost) (push) Successful in 3s
This commit is contained in:
1 parent
f0fa77e226
commit
a0f40cacd6
1 file changed
+4
-4
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user