From 5e50a4fbe622eb93ce83b5793faf8603ba63c635 Mon Sep 17 00:00:00 2001 From: Ahmet Sait Date: Mon, 9 Dec 2024 21:39:41 +0300 Subject: [PATCH] `warn()` is deprecated --- ffmpeg_normalize/_media_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_normalize/_media_file.py b/ffmpeg_normalize/_media_file.py index b5505d3..2cf8276 100644 --- a/ffmpeg_normalize/_media_file.py +++ b/ffmpeg_normalize/_media_file.py @@ -281,7 +281,7 @@ def _get_audio_filter_cmd(self) -> tuple[str, list[str]]: skip_normalization = True if skip_normalization: - _logger.warn( + _logger.warning( f"Stream {audio_stream.stream_id} had measured input loudness lower than target, skipping normalization." ) normalization_filter = "acopy"