Skip to content

Add --unpaired-access option, on by default - #293

Merged
maximmaxim345 merged 2 commits into
mainfrom
feat/unpaired-access
Oct 12, 2026
Merged

maximmaxim345 merged 2 commits into
mainfrom
feat/unpaired-access

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

What does this implement/fix?

Adds --unpaired-access and an unpaired_access setting, so servers can play on this client without pairing.

It's on by default, since the CLI has no audio input role and Music Assistant approves unpaired clients automatically. This way upgraded headless players don't need someone to catch the pairing PIN in the daemon log.

Installs that already have a pairing file start accepting unpaired servers after this. --unpaired-access false keeps requiring pairing.

Related issue (if applicable):

Types of changes

  • Bugfix (non-breaking change which fixes an issue): bugfix
  • New feature (non-breaking change which adds functionality): new-feature
  • Enhancement to an existing feature: enhancement
  • Breaking change (changes CLI options, settings, hooks or the protocol in a way that is not backwards compatible): breaking-change
  • Refactor (no behavior change): refactor
  • Documentation only: documentation
  • Maintenance / chore: maintenance
  • CI / workflow change: ci
  • Dependencies bump: dependencies

Copilot AI balanced review requested due to automatic review settings October 12, 2026 05:00
@github-actions github-actions Bot added the new-feature Adds new functionality label Oct 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The security-sensitive settings behavior lacks regression coverage.

1 open finding
What changed in this PR

Adds default-enabled unpaired server access for TUI and daemon clients.

Changes:

  • Adds CLI and settings controls for unpaired access.
  • Synchronizes the setting to the pairing store.
  • Documents behavior and security implications.
File Description
sendspin/​settings.py Adds and loads the new setting.
sendspin/​cli.py Parses, validates, and applies the option.
README.md Documents configuration and pairing behavior.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread sendspin/settings.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The option is correctly propagated, validated, tested, and documented.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@maximmaxim345
maximmaxim345 merged commit 0d8c335 into main Oct 12, 2026
4 checks passed
@maximmaxim345
maximmaxim345 deleted the feat/unpaired-access branch October 12, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature Adds new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants