Skip to content

Restart audio worker on stream start after reconnect#174

Merged
maximmaxim345 merged 3 commits intoSendspin:mainfrom
balloob-travel:codex/restart-audio-worker-on-stream-start
Mar 9, 2026
Merged

Restart audio worker on stream start after reconnect#174
maximmaxim345 merged 3 commits intoSendspin:mainfrom
balloob-travel:codex/restart-audio-worker-on-stream-start

Conversation

@balloob-travel
Copy link
Contributor

Summary

  • restart the audio worker when a new player stream starts after a reconnect
  • keep reconnect cleanup scoped to connection state so daemon hardware volume monitoring stays active
  • add a regression test covering stream start after connection reset

Testing

  • uv run pytest tests/test_audio_connector.py tests/test_decoder.py
  • uv run ruff check sendspin/audio_connector.py sendspin/daemon/daemon.py sendspin/tui/app.py tests/test_audio_connector.py
  • uv run mypy sendspin

@maximmaxim345 maximmaxim345 added the bugfix Fixes a bug label Mar 9, 2026
@maximmaxim345 maximmaxim345 merged commit 86bfda5 into Sendspin:main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants