From 9009cbc3a9196d7ba51e79f0dafb7326db33136f Mon Sep 17 00:00:00 2001 From: George Tsertsvadze Date: Sat, 25 Jan 2025 00:41:34 +0000 Subject: [PATCH] Update config.py check() to log correct binary name When finding FFMPEG_BINARY, it correctly displays that it found ffmpeg. But when finding FFPLAY_BINARY it again displays ffmpeg. This changes it to display ffplay --- moviepy/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moviepy/config.py b/moviepy/config.py index 4a32acaff..965d92771 100644 --- a/moviepy/config.py +++ b/moviepy/config.py @@ -78,9 +78,9 @@ def check(): print(f"MoviePy: can't find or access ffmpeg in '{FFMPEG_BINARY}'.") if try_cmd([FFPLAY_BINARY])[0]: - print(f"MoviePy: ffmpeg successfully found in '{FFPLAY_BINARY}'.") + print(f"MoviePy: ffplay successfully found in '{FFPLAY_BINARY}'.") else: # pragma: no cover - print(f"MoviePy: can't find or access ffmpeg in '{FFPLAY_BINARY}'.") + print(f"MoviePy: can't find or access ffplay in '{FFPLAY_BINARY}'.") if DOTENV: print(f"\n.env file content at {DOTENV}:\n")