Skip to content

Apply backend compatibility to legacy CLI#64

Merged
pitill0 merged 1 commit into
mainfrom
feature/legacy-cli-backend-compatibility
Jun 13, 2026
Merged

Apply backend compatibility to legacy CLI#64
pitill0 merged 1 commit into
mainfrom
feature/legacy-cli-backend-compatibility

Conversation

@pitill0

@pitill0 pitill0 commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

Apply backend compatibility checks to the legacy numbered CLI so it behaves consistently with the Textual TUI and GTK GUI when specialized player backends are selected.

Changes

  • Add helper functions for backend capabilities and CLI station compatibility.
  • Filter search results for specialized backends.
  • Filter favorites and random favorite playback for specialized backends.
  • Block incompatible playback attempts with the existing unsupported-backend message.
  • Add tests for CLI compatibility filtering.
  • Add a short usage note for legacy CLI behavior.

Validation

  • ruff check .
  • python -m pytest tests/test_cli_compatibility.py
  • python -m pytest
  • python -m bandit -r fluxtuner
  • pip-audit --local

@pitill0 pitill0 merged commit a471cb6 into main Jun 13, 2026
6 checks passed
@pitill0 pitill0 deleted the feature/legacy-cli-backend-compatibility branch June 14, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant