Expose per-player SlimProto sync tuning parameters for Squeezelite groups #5113
papadopouloskyriakos
started this conversation in
Feature requests and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
I run a fleet of 7 Squeezelite speakers (RPi Zero 2 W + DigiAMP+/HiFiBerry DAC+) in a whole-house synchronized group. With Lyrion Music Server (LMS), they play in perfect sync. I tried migrating to Music Assistant but could not achieve stable synchronized playback despite extensive configuration attempts.
The core issue: MA's Squeezelite provider hardcodes sync parameters that LMS exposes as per-player settings. Without these, it's not possible to tune for different hardware chains, WiFi conditions, and room placements.
What LMS exposes that MA doesn't
minSyncAdjustMIN_DEVIATION_ADJUST = 8msplayDelayCONF_SYNC_ADJUST(-500 to +500ms)bufferSecs# TEMPin source)bufferThresholdmaxBitrateMy setup
Proposed solution
minSyncAdjustas a per-player setting (or at minimum a global setting) — integer, milliseconds, default 10, range 1-100CONF_SYNC_ADJUSTrange from ±500ms to at least ±5000ms for hardware chains with significant analog delaybufferSecs(simple) orthreshold/output_threshold(advanced) as user-configurable settingsThere's precedent: the AirPlay provider got configurable latency in PR #3210. The Squeezelite provider would benefit from the same treatment.
Workaround
Currently using Lyrion Music Server directly for player management and sync. MA could potentially coexist as a music source provider feeding into LMS, but a native solution would be preferable.
All reactions