Fix: plugin source stream to http endpoint
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sat, 15 Mar 2025 05:28:58 +0000 (06:28 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Sat, 15 Mar 2025 05:28:58 +0000 (06:28 +0100)
music_assistant/controllers/streams.py

index 74bcffdef9944163f2836de981a24acc37aab928..5ab0299322077fe3dc7e115faec14340ac39ee68 100644 (file)
@@ -658,6 +658,7 @@ class StreamsController(CoreController):
             output_format_str=request.match_info["fmt"],
             player=player,
             content_sample_rate=plugin_source.audio_format.sample_rate,
+            content_bit_depth=plugin_source.audio_format.bit_depth,
         )
         headers = {
             **DEFAULT_STREAM_HEADERS,