You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: servers announce their pairing methods in server/hello #333
A client can't tell in advance which pairing method a server will use. client/hello lists the client's supported_pair_methods, but nothing the client receives before pairing says which of them the server supports: server/init carries only server_id and version, server/hello only name, languages and role support, and the _sendspin-server._tcp TXT record only path and name. The server picks a method only when the operator starts pairing, in server/activate.
So a client with a screen that offers both the pairing token and a dynamic pairing code has to show instructions for both at once: "Pair this Mac in Music Assistant. If it asks for a token, copy it here." In practice users copy the token, go to the server, and are asked for a code instead.
(Context: I'm building a macOS app that is a source@v1 client for Music Assistant and shows the dynamic pairing code on screen.)
Proposal
An optional field in server/hello, mirroring the client's:
Activity
Show the pairing code, and pairing instructions for any server
balloob commentedon Oct 22, 2026
Servers need to support all pairing methods. The client should only implement one code one (dynamic or static), never both. This is also mentioned in the impelmentation guide: https://www.sendspin-audio.com/build/guide/client/pairing/#choose-the-code-method-for-your-hardware
wildekek commentedon Oct 22, 2026
Thanks, that's very logical indeed. Fixed in 0.6.1