Repository navigation
Conversation
The source role used to need a source@v1_support object in client/hello,
which announced line_sense, the promise to report signal in
client/state. aiosendspin up to 10.3.0 refused to activate source@v1
without it ("listed roles without their required support object, not
activating: source@v1"), so Live input couldn't be used with Music
Assistant before the object was added.
Sendspin/spec#335 removed the object: every source now has to report
signal anyway, so there is nothing left to announce. aiosendspin 11.0.0
(Sendspin/aiosendspin#614), which Music Assistant 2.10.14 ships,
activates the source role without it and flags a client that still
sends it as noncompliant. Music Assistant tolerates that while "allow
legacy clients" is on, its default, but rejects the client in strict
mode.
AriaCast already reports signal in every client/state, so only the
object goes. Music Assistant before 2.10.14 no longer activates Live
input with this change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sendspin/spec#314 ties every stream to the playback activity: a client ignores a source start while playback is not declared, and dropping playback ends the source stream like removing the source role does. AriaCast used to start the source without playback because Music Assistant activated a capture device with no activities at all and sent the start right away, so a client following the spec never streamed ("did not start streaming"). aiosendspin 11.0.0 (Sendspin/aiosendspin#613), which Music Assistant 2.10.14 ships, now declares playback from the start request until the stop and only then sends the start, so the workaround is no longer needed. With Music Assistant before 2.10.14 the start is ignored and Live input stays idle; together with the removed source@v1_support it needs 2.10.14 or later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Music Assistant 2.10.14 ships aiosendspin 11.0.0, which implements two spec changes for the source role. This brings Live input in line with both.
Changes
source@v1_supportinclient/hello. Require source clients to always reportsignalSendspin/spec#335 removed it, since every source now has to reportsignal(AriaCast already does in everyclient/state). aiosendspin 11.0.0 (Fix the source role for clients withoutsource@v1_supportSendspin/aiosendspin#614) flags a client that still sends it as noncompliant; Music Assistant tolerates that with "allow legacy clients" on, its default, but rejects the client in strict mode.playbackactivity (Arbitrate every activation and gate audio onplaybackSendspin/spec#314). A sourcestartwithoutplaybackis ignored, and droppingplaybackends the source stream. AriaCast had dropped this check because older Music Assistant sent the start with no activities; aiosendspin 11.0.0 (Send the source start only after declaringplaybackSendspin/aiosendspin#613) now declaresplaybackbefore sending it.Compatibility
Live input needs Music Assistant 2.10.14 or later. Older versions (aiosendspin ≤ 10.3.0) don't activate the source role without
source@v1_supportand send the start withoutplayback, so Live input stays idle there. Playback on this device (player role) is unaffected.Testing
testGithubDebugUnitTestpasses.SendspinSessionTestnow checks thatsource@v1_supportis not sent, that a source start withoutplaybackis ignored, that it streams withplayback, and that droppingplaybacksendsclient-stream/end.StartupSmokeTestfailed once in a full run with a NullPointerException inCompanionHub.startBluetoothand passed in three reruns; it doesn't touch Sendspin and looks like a race that is already onmain.🤖 Generated with Claude Code