This is a background service for Kodi that acts as a client for the Sendspin audio streaming server. It allows Kodi to play audio from a Sendspin server.
This addon is in an ALPHA state. It is experimental and may contain bugs or be unstable. Use it at your own risk.
This addon was developed with the assistance of AI.
TODO
- AudioProfiles
- Librespot
The addon requires several Python libraries to function. A helper script is included to download them into the correct folder.
Run the script:
./service.sendspin/tools/get_libs.pyThis will use uv and pip to create a venv file and install the dependencies into the service.sendspin/resources/lib folder.
After the dependencies are downloaded, you need to create a zip file of the service.sendspin directory contents.
Zip the service.sendspin directory.
For this addon to mix audio correctly, Kodi must use the PulseAudio backend.
- Navigate to Settings > System > Audio.
- Check the Audio output device setting.
- Ensure the selected device name begins with PULSE: (e.g., PULSE: Default).
This fix prevents kodi booting before pulseaudio devices are avalible.
- Create directories and upload the script and service files:
mkdir -p /storage/.config/pulseaudio-fix- Place the script found in tools at
/storage/.config/pulseaudio-fix/wait-for-pulse-sink.sh - Place the unit found in tools at
/storage/.config/system.d/pulseaudio-fix.service. - Make the script executable:
chmod +x /storage/.config/pulseaudio-fix/wait-for-pulse-sink.sh- Reload systemd daemon and enable the service:
systemctl daemon-reload
systemctl enable pulseaudio-fix.service- Reboot the device to test full boot ordering:
reboot- Open Kodi.
- Go to Settings (the gear icon).
- Select Add-ons.
- Select Install from zip file.
- Navigate to the location where you saved
service.sendspin.zip. - Select the zip file to install it.
- Wait for the "Add-on installed" notification.
The addon can be configured through its settings in Kodi.
- Client ID: A unique identifier for this Kodi client.
- Client Name: A friendly name to identify this client on the Sendspin server.
- Log file path: The location to store the addon's log file.
- Startup error file: A file to log any critical errors that happen when the service first starts.