Skip to content

Sendspin: follow the current source role spec (needs Music Assistant 2.10.14) - #67

Open
meiser79 wants to merge 2 commits into
AriaCast:mainfrom
meiser79:sendspin-no-source-support
Open

meiser79 wants to merge 2 commits into
AriaCast:mainfrom
meiser79:sendspin-no-source-support

Conversation

@meiser79

Copy link
Copy Markdown
Contributor

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

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_support and send the start without playback, so Live input stays idle there. Playback on this device (player role) is unaffected.

Testing

  • testGithubDebugUnitTest passes. SendspinSessionTest now checks that source@v1_support is not sent, that a source start without playback is ignored, that it streams with playback, and that dropping playback sends client-stream/end.
  • StartupSmokeTest failed once in a full run with a NullPointerException in CompanionHub.startBluetooth and passed in three reruns; it doesn't touch Sendspin and looks like a race that is already on main.

🤖 Generated with Claude Code

meiser79 and others added 2 commits November 28, 2026 08:03
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>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant