From 91b73cbb635bb08dcf657601431bf7af675dd15e Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Mon, 3 Nov 2025 18:28:08 +0100 Subject: [PATCH] remove radio workaround --- music_assistant/controllers/streams.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/music_assistant/controllers/streams.py b/music_assistant/controllers/streams.py index 91a266b0..fb339d08 100644 --- a/music_assistant/controllers/streams.py +++ b/music_assistant/controllers/streams.py @@ -1304,15 +1304,6 @@ class StreamsController(CoreController): filter_params=filter_params, ) - if ( - streamdetails.media_type == MediaType.RADIO - and streamdetails.volume_normalization_mode == VolumeNormalizationMode.DYNAMIC - ): - # prepend 3 seconds of silence to give loudnorm filter time to adjust - # fixes https://github.com/music-assistant/support/issues/4028#issuecomment-3478449178 - silence = b"\0" * int(pcm_format.sample_rate * (pcm_format.bit_depth / 8) * 2) * 3 - yield silence - first_chunk_received = False fade_in_buffer = b"" bytes_received = 0 -- 2.34.1