I wrote a Kodi add-on that turns a LibreELEC box into a Spotify Connect device. It uses Spotify Soloist, Spotify's own headless client released this year, instead of librespot. As far as I know it is the first Kodi add-on built on Soloist.
Why: librespot-based solutions often fail with an "Audio key error" on newly created Spotify accounts. Soloist is the official client, so it should not be affected.
What it does:
- The box shows up as a device in the Spotify app.
- Audio plays through Kodi's own player, with title, artist and cover art on the TV.
- Pause, next and stop in Kodi are passed on to Spotify.
- Volume can follow the Spotify app or stay pinned at 100% for AV receivers.
Soloist is closed source, so it runs isolated in a Docker container. The binary is not shipped with the add-on; the container downloads it from Spotify's CDN.
Requirements: LibreELEC 12 / Kodi 21 with the Docker add-on, and a Soloist API key created with a Spotify Premium account (every user needs their own).
Tested on a Raspberry Pi 5 only. Reports from other hardware are very welcome.
Source and install instructions (GPL-2.0): https://github.com/willheisenberg/kodi-soloist
Unofficial hobby project, not affiliated with Spotify. Feedback and bug reports welcome.