LibreSpot Add-on

  • I tried installing LibreSpot on my Raspberry Pi running LibreELEC yesterday, but it fails to install.

    I try installing using the standard add-on menu in Kodi, nothing special/manual.
    But right after selecting 'install' it immediately says "Installation failed". Nothing more.

    I tried installing on LibreELEC 11.0.3. Didn't work. Then I updated to LibreELEC 12.0.1. Still does not work.

    But it gives no error message. What steps can I take to solve the problem?

  • Hey there,

    any chance on upgrading librespot to a current version? It was working well until recently (sometime this summer). From the logs I got

    Code
    # tail -f .kodi/temp/kodi.log | grep librespot
    debug <general>: Librespot: [2025-10-24T21:41:26Z ERROR librespot_playback::player] Track should be available, but no alternatives found.
    debug <general>: Librespot: [2025-10-24T21:41:26Z WARN  librespot_playback::player] <spotify:track:4bXkJxL5o6ro4iLmBAl80E> is not available
    debug <general>: Librespot: [2025-10-24T21:41:26Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:4bXkJxL5o6ro4iLmBAl80E")>: ()
    debug <general>: Librespot: [2025-10-24T21:41:26Z ERROR librespot_playback::player] Track should be available, but no alternatives found.
    debug <general>: Librespot: [2025-10-24T21:41:26Z WARN  librespot_playback::player] <spotify:track:0WGgup9sYlZNyvvVhuv85q> is not available

    Which lead me to https://github.com/librespot-org/librespot/issues/1527. Trying the workaround with adding 0.0.0.0 apresolve.spotify.com to /storage/.config/hosts.conf did not work for me. I then get similar issues to https://github.com/librespot-org/…ment-3167524954


  • Oh well. I have enabled system Auto Updates, so I was still on LE 12.0.2., where the librespot version was 0.5 - didn't notice there was a 12.2 release. So I updated to 12.2 manually, reinstalled librespot¹ and it's working again. Thanks for the hint! :)


    ¹had to do that because I tried to change the application backend, where the default alsa hw:2.0 did not work. I just was too lazy to type the related output...

  • hello, i have 3 rpi-s and the official librespot plugin worked just fine some days ago, but now i can't connect from my phone or my windows machine spotify app to neither pi. I just updated to the latest release ( libreelec 12.2.1, Kodi 21.3, librespot 0.7.1)

    what should i do?

  • After updating to LE 12.2.1, It stopped working again. Interestingly, It started to show "librespot" as output in Spotify app. Before, there was just the "Librespot@kodi". I tried both, giving differing log output, but no audio, either.

    Choosing "Librespot@kodi" I get

    Code
    # librespot help
    [2025-11-10T12:14:55Z INFO  librespot] librespot 0.7.1 b7228a2 (Built on 2025-09-04, Build ID: GLXwehFT, Profile: release)
    [2025-11-10T12:14:55Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
    *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
    [2025-11-10T12:14:55Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
    [2025-11-10T12:14:55Z INFO  librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

    Choosing "librespot" I get

    Code
    # cat .kodi/temp/kodi.log | grep librespot
    2025-11-10 13:17:18.896 T:917      info <general>: CAddonMgr::FindAddons: service.librespot v12.2.0.2 installed
    2025-11-10 13:17:32.853 T:947      info <general>: Librespot: pactl load-module module-null-sink sink_name=librespot: 14
    2025-11-10 13:17:32.983 T:947      info <general>: Librespot: pactl load-module module-rtp-send destination_ip=127.0.0.1 inhibit_auto_suspend=always port=23432 source=librespot.monitor: 15
    2025-11-10 13:17:32.987 T:947      info <general>: Librespot: librespot.Librespot.__init__
    2025-11-10 13:17:32.988 T:947      info <general>: Librespot: librespot.Librespot.__enter__
    2025-11-10 13:17:38.585 T:947      info <general>: Librespot: librespot.Librespot.start
    2025-11-10 13:17:39.010 T:977      info <general>: Librespot: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
  • for those who didn't use display with libreelec (only for music playback) i find these two commands useful:

    kodi-send --action=UpdateAddonRepos;
    kodi-send --action=UpdateLocalAddons;

  • Hi,

    so glad to have librespot working again with the update to Libreelec 12.2.1. many thanks to everybody involved in maintaining and fixing the librespot plugin.

    I run into the following 'issue': when connecting my spotify app to my Libreelec powered rpi5, the volume is now initially set to 100%.

    I get complaints from my neighbors as I have appr. 300 watt speakers attached, and when connecting Spotify automatically starts playing at full volume :O


    This is not the way it was before, it used to be set initially to a low value and then I would have to increase the volume in the Spotify app.


    Is there a way to set a different volume on start up of Kodi?


    Librespot is configured to use PulseAudio.


    Thanks in advance on behalf of my heart, ears and neighbors :)

    Edited once, last by ruud (November 12, 2025 at 10:34 AM).

  • Hello ruud

    The first way to set the volume when Kodi starts playing content that I can think of is to set the volume of the TV (or device that feeds your speakers). This is how I do it and have seen it done.

    When the initial volume of libespot is set to 100%, librespot/pulseaudio starts playing at the same volume as other contents (audio, video, tv, radio), and the volume of all content can be adjusted in the same manner, usually via the Kodi/CEC or the remote of the TV.

    Your question suggests that you are using a specific audio configuration (headless exclusively for Spotify). If so, please elaborate.

    Do you play content other than Spotify? If so, how do you adjust the volume?

  • Hi,
    my RPI5 is rigged with a HiFiBerry Amp100

    in Kodi I have set the volume to 50%

    when playing Spotify via librespot on kodi, the volume in Spotify for this device is 100%, I have to manually decrease that to a reasonable volume.

    Some how Spotify remembers the volume setting of the device until I reboot Kodi, then Spotify start with 100% again.

    in the previous version of librespot, Spotify started with a level of appr. 25% which was to low, so I had to increase it everytime.

    Also not optimal, but at least it started low and not high as it does now.

    not sure what the cause of this is, imo only thing changed was librespot.

    I saw that you can somehow configure librespot with a volume level, but because this ia integrated into kodi I do not have clue where to look for that and if that is even possible