sendspin daemon --audio-device "my_alsa_device" should not try reaching a pulseaudio server
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start in sendspin/cli.py at _run_client_mode and then inspect sendspin/audio_devices.py, where sounddevice is imported and the audio device is resolved. Reproduce the command with the ALSA device from the report on a system without PulseAudio. Done means selecting that device no longer attempts to connect to a PulseAudio server.
Written by the indexing model from the issue text.
Description
Env:
- Kernel/Arch: 6.18.38-current-sunxi / armv7l
- OS: Ubuntu 26.04
- sendpin-cli 7.5.0
- No Pulseaudio software installed or running.
Steps
$ /root/.local/bin/sendspin daemon --log-level DEBUG --name "P0" --audio-device "plughw:CARD=Lite,DEV=0" --hardware-volume true
Note: plughw:CARD=Lite,DEV=0 is a ALSA device.
Logs
Traceback (most recent call last):
File "/root/.local/bin/sendspin", line 6, in <module>
sys.exit(main())
~~~~^^
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sendspin/cli.py", line 782, in main
return asyncio.run(_run_client_mode(args))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/asyncio/runners.py", line 204, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/usr/lib/python3.14/asyncio/runners.py", line 127, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.14/asyncio/base_events.py", line 719, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sendspin/cli.py", line 798, in _run_client_mode
from sendspin.audio_devices import resolve_audio_device
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sendspin/audio_devices.py", line 10, in <module>
import sounddevice
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sounddevice.py", line 2972, in <module>
_initialize()
~~~~~~~~~~~^^
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sounddevice.py", line 2936, in _initialize
_check(_lib.Pa_Initialize(), 'Error initializing PortAudio')
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.local/share/pipx/venvs/sendspin/lib/python3.14/site-packages/sounddevice.py", line 2836, in _check
raise PortAudioError(errormsg, err, hosterror_info)
sounddevice.PortAudioError: Error initializing PortAudio: Unanticipated host error [PaErrorCode -9999]: 'PulseAudio_Initialize: Can't connect to server' [<error getting host API: -10000> error -1]
```
- Dominant language
- Python
- Stars
- 190
- Forks
- 36
- Avg merge
- 11d 19h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Sendspin/sendspin-python-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Sendspin/sendspin-python-cli#280 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Sendspin/sendspin-python-cli#278 · 2 comments · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Sendspin/sendspin-python-cli#257 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sendspin/sendspin-python-cli#256 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sendspin/sendspin-python-cli#113 · 10 comments ·
All issues in Sendspin/sendspin-python-cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·