From: Marcel van der Veldt Date: Sat, 26 Apr 2025 23:56:47 +0000 (+0200) Subject: Fix streaming fails if crossfade without gapless X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=45809fcc18cbb12da332a3e9d5fcbba0c451902c;p=music-assistant-server.git Fix streaming fails if crossfade without gapless --- diff --git a/music_assistant/controllers/streams.py b/music_assistant/controllers/streams.py index 3139e0b9..3bdb7541 100644 --- a/music_assistant/controllers/streams.py +++ b/music_assistant/controllers/streams.py @@ -421,8 +421,11 @@ class StreamsController(CoreController): crossfade = await self.mass.config.get_player_config_value(queue.queue_id, CONF_CROSSFADE) if crossfade and PlayerFeature.GAPLESS_PLAYBACK not in queue_player.supported_features: # crossfade is not supported on this player due to missing gapless playback - self.logger.warning("Crossfade disabled: gapless playback not supported on player") - return False + self.logger.warning( + "Crossfade disabled: Player %s does not support gapless playback", + queue_player.display_name, + ) + crossfade = False if crossfade: # crossfade is enabled, use special crossfaded single item stream