Posts by lutz108

    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.

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

    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