Librespot addon

  • awiouy latest preview didn't work as well – rpi spotify server was visible but as soon as i tried to connect to it it crashed


  • awiouy latest preview didn't work as well – rpi spotify server was visible but as soon as i tried to connect to it it crashed


    That log shows nothing abnormal.

    Was Kodi playing something back, as this stops the librespot service.

    @

  • That log shows nothing abnormal.

    Was Kodi playing something back, as this stops the librespot service.

    kodi wasn't playing anything - i just booted up my rpi and as soon as it was ready i tried to connect and librespot service crashed

  • kodi wasn't playing anything - i just booted up my rpi and as soon as it was ready i tried to connect and librespot service crashed

    There was a regression in revision 104, which is fixed in revision 105, which should be available very soon.

    Please skip revision 104.

    Apologies for the inconvience.

    @

  • 8.1.105 has some problems to start on my generic 8.0.2

    For example after playing a video it takes a few minutes before Librespot works again

    Somtimes I even need to reboot


    I noticed 2 different zipfiles for this (rpi and generic)

    Does it take the generic by default from the repository or is it worth it to play with these zipfiles ?

  • Sorry to read this... Reconnection is snappy here on my RPi3.

    Could you send me a log (journalctl -u service.librespot) so that I can assess what is happening.

    Thank you in advance.

    @

  • I start LibreElec and wait half a minute or so

    Then I had to try to connect a couple of times before it started playing

    Stopped and played a video

    Waited half a minute or so

    Then I had to try to connect a couple of times before it started playing


    No idea how to post a log so I pasted it as a spoiler :)


  • I get a notification now popping up the title and artist.

    But with ALSA it still won't start the song in the first minute or 2.


    It looks though that Kodi output is much better now

    Responsive within an acceptable second or two

    It also works right away after a reboot

    And it's responsive after stopping a video


    The screen goes a bit bananas displaying and playing a song with a increasing length of 3.. 4... 5.. 6... seconds

    And then the screen goes black after 6 or so seconds

    Still displaying notifications though


    For me this is perfect :P


    Does the avahi dns error matter ?

  • Discovery mode would not work without Avahi

    @

  • I have pushed revision 106 of the addon, which corresponds to preview 105d.


    I intend to further improve the addon, in particular:

    1. continuous playback, in the line of this proposal

    2. write to the control named pipe directly from librespot rather than with a bash script

    3. show a customized on screen display (OSD)


    Would a Rust programmer be so kind to help me out with #2

    Would a Kodi skinner be so kind to help me out with #3


    Thanks in advance

    @

  • For information, preview 105d for RPi2 should run on arm variants of LibreELEC 8.x for Odroid_C2, S905, S912, WeTek_Hub and WeTek_Play_2.

    @

  • It is working here, but not at boot. I need to navigate to the plugin and disable/enable it. When I do that it will show up in spotify but not before that, doesn't seem to autostart on boot? I was on an old build (manually installed), uninstalled that one and got the one from the repo's.


    Another strange issue, I have auto screen off after 5 mins, this kills the music while it is connected through SPDIF not HDMI.

  • It is working here, but not at boot. I need to navigate to the plugin and disable/enable it. When I do that it will show up in spotify but not before that, doesn't seem to autostart on boot? I was on an old build (manually installed), uninstalled that one and got the one from the repo's.


    Another strange issue, I have auto screen off after 5 mins, this kills the music while it is connected through SPDIF not HDMI.

    Hm... Revision 106 of the addon waits for Kodi to start, by that time audio devices should be up.


    Are you playing in ALSA or Kodi mode (you can check this in the settings of the addon)?


    A log (journalctl -u service.librespot) would be helpful to assess both issues.

    @