Soloist for Kodi – Spotify Connect on LibreELEC via Spotify's official Soloist client

  • Hi all,

    I wrote a Kodi add-on that turns a LibreELEC box into a Spotify Connect
    device, using Spotify Soloist, Spotify's own headless client that was
    released this year. As far as I know it is the first Kodi add-on built on
    Soloist instead of librespot.

    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 by that.

    What it does:
    - The box shows up as a device in the Spotify app.
    - Audio plays through Kodi's own player; title, artist and cover art are
    shown on the TV.
    - Pause, next and stop in Kodi are passed on to Spotify.
    - If Kodi starts something else, Spotify pauses.
    - Volume can follow the Spotify app or stay pinned at 100% for AV receivers.

    How it works: Soloist is closed source, so it runs isolated in a Docker
    container (non-root, read-only file system, no capabilities). Audio goes
    through a PulseAudio sink and RTP into Kodi, the same approach as
    LibreELEC's librespot add-on. The Soloist binary is not shipped with the
    add-on; the container downloads it from Spotify's CDN.

    Requirements:
    - LibreELEC 12 / Kodi 21 with treELEC repository
    - A Soloist API key, created wi Every user
    needs their own key.

    Tested on a Raspberry Pi 5. aar work, but I
    could only test the Pi 5, so re very welcome.

    Install: there is a small reposve
    automatically. Instructions and

    GitHub - willheisenberg/kodi-soloist: Spotify Connect for Kodi on LibreELEC via Spotify's official Soloist client – isolated in Docker, now-playing in Kodi, PartyQueue bot handover
    Spotify Connect for Kodi on LibreELEC via Spotify's official Soloist client – isolated in Docker, now-playing in Kodi, PartyQueue bot handover -…
    github.com

    This is an unofficial hobby proSpotify.
    Feedback and bug reports are wees.