From 349d69b63801af7f402bd307c2b0faaf2a246650 Mon Sep 17 00:00:00 2001 From: GladistonXD <50533550+GladistonXD@users.noreply.github.com> Date: Thu, 29 Jan 2026 09:17:17 -0300 Subject: [PATCH] Log audio quality change with bit rate info Log the current bit rate when audio quality changes. --- votify/downloader_song.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/votify/downloader_song.py b/votify/downloader_song.py index d258748..918a6c8 100644 --- a/votify/downloader_song.py +++ b/votify/downloader_song.py @@ -260,7 +260,11 @@ class DownloaderSong(DownloaderAudio): return if stream_info.quality != self.audio_quality: - logger.warning(f"Quality has been changed to {stream_info.quality}") + if stream_info.quality == 128000: + info = '128 kb/s' + else: + info = '256 kb/s' + logger.info(f"The current bit rate is {info}") if gid_metadata: logger.debug("Getting lyrics")