From: Marcel van der Veldt Date: Fri, 20 Feb 2026 23:55:06 +0000 (+0100) Subject: Fix use playerid for http profile X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=aa658770c4a53fbfabba4351c26bf0c269303021;p=music-assistant-server.git Fix use playerid for http profile --- diff --git a/music_assistant/controllers/streams/streams_controller.py b/music_assistant/controllers/streams/streams_controller.py index 67e7e251..ecdb25cf 100644 --- a/music_assistant/controllers/streams/streams_controller.py +++ b/music_assistant/controllers/streams/streams_controller.py @@ -463,7 +463,7 @@ class StreamsController(CoreController): ) resp.content_type = f"audio/{output_format.output_format_str}" http_profile = await self.mass.config.get_player_config_value( - queue_id, CONF_HTTP_PROFILE, default="default", return_type=str + player_id, CONF_HTTP_PROFILE, default="default", return_type=str ) if http_profile == "forced_content_length" and not queue_item.duration: # just set an insane high content length to make sure the player keeps playing @@ -602,7 +602,7 @@ class StreamsController(CoreController): ) # work out ICY metadata support icy_preference = self.mass.config.get_raw_player_config_value( - queue_id, + player_id, CONF_ENTRY_ENABLE_ICY_METADATA.key, CONF_ENTRY_ENABLE_ICY_METADATA.default_value, ) @@ -626,7 +626,7 @@ class StreamsController(CoreController): headers=headers, ) http_profile = await self.mass.config.get_player_config_value( - queue_id, CONF_HTTP_PROFILE, default="default", return_type=str + player_id, CONF_HTTP_PROFILE, default="default", return_type=str ) if http_profile == "forced_content_length": # just set an insane high content length to make sure the player keeps playing