projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ab85b
)
Add dryout_ms parameter to snap_stream
author
Santiago Soto
<santiago@soto.uy>
Mon, 1 Jul 2024 22:27:10 +0000
(19:27 -0300)
committer
Santiago Soto
<santiago@soto.uy>
Mon, 1 Jul 2024 22:27:10 +0000
(19:27 -0300)
music_assistant/server/providers/snapcast/__init__.py
patch
|
blob
|
history
diff --git
a/music_assistant/server/providers/snapcast/__init__.py
b/music_assistant/server/providers/snapcast/__init__.py
index c9a535bdab63918eab1c6fba80dbdfbf33d129c0..6bfc7a2ce72b065793d15a4e5216b8f300d66ddd 100644
(file)
--- a/
music_assistant/server/providers/snapcast/__init__.py
+++ b/
music_assistant/server/providers/snapcast/__init__.py
@@
-578,7
+578,7
@@
class SnapCastProvider(PlayerProvider):
result = await self._snapserver.stream_add_stream(
# NOTE: setting the sampleformat to something else
# (like 24 bits bit depth) does not seem to work at all!
- f"tcp://0.0.0.0:{port}?name={name}&sampleformat=48000:16:2",
+ f"tcp://0.0.0.0:{port}?name={name}&sampleformat=48000:16:2
&dryout_ms=2000
",
)
if "id" not in result:
# if the port is already taken, the result will be an error