Librespot addon

  • Today i cant connect via Spotify Connect to librespot. I tested my smartphone and tablet, both show me librespot. When i choose librespot it shows "connect..." and thats it. Works few weeks ago, changed nothing in my setup. I try to reboot my Pi, deinstall and install the addon. Nothing help...

  • Today i cant connect via Spotify Connect to librespot. I tested my smartphone and tablet, both show me librespot. When i choose librespot it shows "connect..." and thats it. Works few weeks ago, changed nothing in my setup. I try to reboot my Pi, deinstall and install the addon. Nothing help...

    Try removing the cache (/storage/.kodi/userdata/addon_data/service.librespot/cache).


    If that does not work, send a log (journalctl -u service.librespot)

    @

  • I use LE 9.0 version for Kodi 18, RPI system - every time I reboot I have to go in configure to get it running. I have changed ALSA and KODI, but same results. Kind of not big bug but annoying.

  • I use LE 9.0 version for Kodi 18, RPI system - every time I reboot I have to go in configure to get it running. I have changed ALSA and KODI, but same results. Kind of not big bug but annoying.

    That would annoy me too.

    Please provide the output of journalctl -u service.librespot

    @

  • -- Logs begin at Sun 2018-01-28 17:58:17 EET, end at Thu 2018-02-15 14:14:33 EET. --

    Jan 28 17:58:24 LibreELEC systemd[1]: Started librespot.

    Jan 28 17:58:25 LibreELEC sh[491]: INFO:librespot: librespot 89426f1 (2018-02-06). Built on 2018-02-08. Build ID: R0L3nS0l

    Jan 28 17:58:25 LibreELEC sh[491]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.

    Jan 28 17:58:25 LibreELEC sh[491]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Jan 28 17:58:25 LibreELEC sh[491]: *** WARNING *** For more information see <Avahi Gains Compatibility Layers for Apple Bonjour and HOWL>

    Jan 28 17:58:25 LibreELEC librespot[522]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.

    Jan 28 17:58:25 LibreELEC librespot[522]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Jan 28 17:58:25 LibreELEC librespot[522]: *** WARNING *** For more information see <Avahi Gains Compatibility Layers for Apple Bonjour and HOWL>

    Jan 28 17:58:25 LibreELEC sh[491]: WARN:librespot_core::apresolve: Failed to resolve Access Point: HTTP error

    Jan 28 17:58:25 LibreELEC sh[491]: WARN:librespot_core::apresolve: Using fallback "ap.spotify.com:80"

    Jan 28 17:58:25 LibreELEC sh[491]: INFO:librespot_core::session: Connecting to AP "ap.spotify.com:80"

    Jan 28 17:58:25 LibreELEC sh[491]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("failed to lookup address informati

    on: Temporary failure in name resolution") }) }', /checkout/src/libcore/result.rs:906:4

    Jan 28 17:58:25 LibreELEC sh[491]: note: Run with `RUST_BACKTRACE=1` for a backtrace.

    Jan 28 17:58:25 LibreELEC systemd[1]: service.librespot.service: Main process exited, code=exited, status=101/n/a

    Jan 28 17:58:25 LibreELEC systemd[1]: service.librespot.service: Failed with result 'exit-code'.

    Jan 28 17:58:25 LibreELEC systemd[1]: Stopped librespot.

    Feb 15 14:04:15 LibreELEC systemd[1]: Started librespot.

    Feb 15 14:04:15 LibreELEC sh[653]: INFO:librespot: librespot 89426f1 (2018-02-06). Built on 2018-02-08. Build ID: R0L3nS0l

    Feb 15 14:04:15 LibreELEC sh[653]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.

    Feb 15 14:04:15 LibreELEC sh[653]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Feb 15 14:04:15 LibreELEC sh[653]: *** WARNING *** For more information see <Avahi Gains Compatibility Layers for Apple Bonjour and HOWL>

    Feb 15 14:04:15 LibreELEC librespot[667]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.

    Feb 15 14:04:15 LibreELEC librespot[667]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Feb 15 14:04:15 LibreELEC librespot[667]: *** WARNING *** For more information see <Avahi Gains Compatibility Layers for Apple Bonjour and HOWL>

  • The log shows that DNS is not available when librespot starts.

    Please try the following: in Settings, LibreELEC settings, Network settings, set Wait for network.

    Then reboot.

    @

  • Few days using I have noticed in config of using Kodi not Alsa there is small audio brakes in songs time by time. What could be issue?

  • Few days using I have noticed in config of using Kodi not Alsa there is small audio brakes in songs time by time. What could be issue?

    Please provide more details about your system and a log

    @

  • Libreelec KODI 18, RPI3 librespot on KODI config




    Feb 25 10:52:16 LibreELEC sh[487]: INFO:librespot_core::util: Running librespot.onstart

    Feb 25 10:52:16 LibreELEC sh[487]: INFO:librespot_core::util: Exit status: exit code: 0

    Feb 25 10:52:16 LibreELEC sh[487]: INFO:librespot::player: Loading track "Be Thou My Vision (Fox Sessions)"

    Feb 25 10:52:16 LibreELEC sh[487]: INFO:librespot::player: Track "Be Thou My Vision (Fox Sessions)" loaded

    Feb 25 10:52:16 LibreELEC sh[487]: INFO:librespot::player: onstart 1

    Feb 25 10:53:20 LibreELEC sh[487]: INFO:librespot_core::util: Running librespot.onstart

    Feb 25 10:53:20 LibreELEC sh[487]: INFO:librespot_core::util: Exit status: exit code: 0

    Feb 25 10:53:20 LibreELEC sh[487]: INFO:librespot::player: Loading track "Ubi Caritas"

    Feb 25 10:53:20 LibreELEC sh[487]: INFO:librespot::player: Track "Ubi Caritas" loaded

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot::player: onstop 1

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot_core::util: Running librespot.onstart

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot_core::util: Exit status: exit code: 0

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot::player: Loading track "Holy, Holy, Holy"

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot::player: Track "Holy, Holy, Holy" loaded

    Feb 25 10:56:17 LibreELEC sh[487]: INFO:librespot::player: onstart 1

    Feb 25 10:57:44 LibreELEC sh[487]: INFO:librespot_core::util: Running librespot.onstart

    Feb 25 10:57:44 LibreELEC sh[487]: INFO:librespot_core::util: Exit status: exit code: 0

    Feb 25 10:57:44 LibreELEC sh[487]: INFO:librespot::player: Loading track "Ubi Caritas"

    Feb 25 10:57:45 LibreELEC sh[487]: INFO:librespot::player: Track "Ubi Caritas" loaded

  • After installing out-of-the-box LibreSpot 8.2.108 (from the default repo) on out-of-the-box LibreElec 8.2.3 (Kodi Krypton 17.8), everything worked fine. After a reboot the device is not discoverable. By using the Kodi GUI My Addons -> Services -> LibreSpot en selecting "update", the service seems to be started again (even though I 'updated' to the same version). I have to repeat this every (re)boot.
    Same occurs after playing another source: LibreSpot cannot be discovered until "updated".


    I don't know how to debug this, so please let me know how I can support.

  • Ok, just read back a few posts, and saw that I had to enable the "wait for network before starting Kodi". That worked.


    HOWEVER, that does not explain why the spotify connect point disappears (or doesn't want to play) after I've played another media source...


    edit: plus LibreElec/Kodi takes quite some more time to start up now. No other add-on was having these problems. Should the time-out not be introduced in the LibreSpot add-on?

    Edited 2 times, last by JHBonarius ().

  • Ok, just read back a few posts, and saw that I had to enable the "wait for network before starting Kodi". That worked.


    HOWEVER, that does not explain why the spotify connect point disappears (or doesn't want to play) after I've played another media source...


    edit: plus LibreElec/Kodi takes quite some more time to start up now. No other add-on was having these problems. Should the time-out not be introduced in the LibreSpot add-on?

    "Wait for network..." is a generic solution, which works for all addons

    There is no need, nor desire, to reproduce it in every addon


    The librespot service stops when a media is played from Kodi, and restarts when the media is stopped (not paused)

    If this does not wotk, provide a log (journalctl -u service.librespot)

    @

  • Sorry for opening the issue at github. I'm new to this. Thanks for the great add-on by the way.

    I will post the log as soon as the other issue reoccurs.

  • hi,

    i can not use librespot after the latest update from spotify app. Is the problem already known?


    if i downgrade the app i can use it again.


    My Handy is a Google Phone.



    sorry for the bad language, my english is not so good.

    Edited once, last by Chris-- ().

  • There might be a patch for that.

    If you tell me on what system you run librespot, I will try to provide you with an update.

    @