Repository navigation
Done
Description
Switch the Sendspin player in Music Assistant from flow mode to enqueue mode, so each track is sent in its own format with an in-place stream/start at every track change. All tracks still go into one stream, so playback stays gapless and every group member stays on the same stream.
Since the server then knows exactly when each track starts, title, artwork and progress can be scheduled for that moment and switch together with the audio on all clients. The audio overlay and plugins that need flow mode keep using it.
- Music Assistant: give the direct PCM path for single tracks the same crossfade handling as the HTTP path, and hand the player the next track (Crossfade and hand over the next track on direct PCM queue streams music-assistant/server#8081)
- Music Assistant: play Sendspin in enqueue mode, with all tracks pushed into one stream in one fixed format (Play Sendspin queues track by track, switching formats without a restart music-assistant/server#8082)
- Music Assistant: schedule title, artwork and progress for the exact start of each track (Play Sendspin queues track by track, switching formats without a restart music-assistant/server#8082)
-
aiosendspin: keep the old resampler's tail when the source format changes mid-stream (Fix audio gap when the source format changes mid-stream aiosendspin#610) -
not needed: Music Assistant sets each player's format right before a track's first audio, andaiosendspin: option for the player's format to follow the track's formataiosendspinswitches the format where that player's audio ends - Music Assistant: send each track in its own format while "Allow legacy clients" is off, except where a player's settings pin a rate (Play Sendspin queues track by track, switching formats without a restart music-assistant/server#8082)
Later, once clients support it:
-
aiosendspin: timestampedstream/clear, so a next track that was already sent can be replaced (AddPushStream.clear_from()to replace audio from a timestamp aiosendspin#612, released in 11.0.0) - Music Assistant: use it when the next track changes after it was sent (Replace a Sendspin next track that was already sent without a restart music-assistant/server#8083, Allow moving the buffered next track on Sendspin players music-assistant/server#8084, Allow moving and removing the next track on Sendspin players music-assistant/frontend#3326)
Related:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
stream/startspec#294stream/startspec#294stream/startspec#294stream/startspec#294[-]Adjust Music Assistant to send audio track by track instead of flow mode[/-][+]Use enqueue mode instead of flow mode for Sendspin in Music Assistant[/+]Crossfade and hand over the next track on direct PCM queue streams (m…
Play Sendspin queues track by track, switching formats without a rest…
Replace a Sendspin next track that was already sent without a restart (…
Allow moving the buffered next track on Sendspin players (music-assis…