Posts by Sappi

    Hello Sappi,

    did you have more luck with Avahi turned on? I am asking because I had likely the same problem, but as awiouy mentioned earlier, Avahi must be turned on. That was my problem.

    Yes, this solved the problem also for me. Sorry for not reporting earlier.

    Hi,

    I recently ran into trouble playing certain dvds, however I had the impression, that the dvd drive was passing away, so I bought a new one, installed it and found, that the problems do not disappear.

    So what happens is:

    I insterted the DVD into the drive and started playback through the home screen menue

    Then the first publisher intro is played

    then the screen turns black and nothing more happens.

    Then I press the ok button on the remote and some more publisher intros / Commercials are played, which I can skip forward.

    Then I see the DVD menu, but if I select the "play movie" Option, nothing more happens.

    I created a logfile while doing the above.

    Would be great if someone could take a look into the log and shed some light on what is going wrong here.

    I also tried to force the dvd region code to 2 (which is my home region). But this doesn't help.

    Thanks in advance

    Sappi

    Update 1:

    Tried with another DVD (quite old, not copy protected).

    Behavior is similar:

    Some intros are played > DVD menu is shown -> main movie is not played -> log

    Update 2:

    Tried with another more recent dvd:

    No Problems to play at all -> logfile

    Update 3:

    Tried to play the DVD from original post on my windows PC using Kodi -> no problem

    Observation: The black screen which left just pressing the "ok" button seems to be the language selection screen, which is visible while playing on windows)

    Hi awiouy,

    sorry not coming back on that for a while. Howewer, now that my system got broken again (likely doue to an update again). I am eager to trace the root cause.

    As a starting point I:

    1. deinstalled librespot addon

    2. deleted the zip archive from .kodi/addons/packages/

    3. rebootet the machine

    4. reinstalled addon

    5. rebootet the machine

    6. journalctl -u service.librespot returns the previously reported error log

    So find the requested information below

    1.) LibreELEC (official): 9.2.0 (Generic.x86_64)

    2.) no, disabled

    3.) no, disabled

    4.) yes, have premium

    5.) yes, tried but when the service is crashed, but prefer not to use, because we have mutiple accounts in my home, that want to use the service

    6.) ldd /storage/.kodi/addons/service.librespot/bin/librespot

    linux-vdso.so.1 (0x00007fff5d5fd000)

    libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007fccab1a7000)

    libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00007fccab1a0000)

    libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fccab0de000)

    libdns_sd.so.1 => /storage/.kodi/addons/service.librespot/lib/libdns_sd.so.1 (0x00007fccab0d5000)

    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fccab0d0000)

    librt.so.1 => /usr/lib/librt.so.1 (0x00007fccab0c6000)

    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fccab0a3000)

    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fccab089000)

    libc.so.6 => /usr/lib/libc.so.6 (0x00007fccaaed3000)

    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fccab8cb000)

    libm.so.6 => /usr/lib/libm.so.6 (0x00007fccaad93000)

    libpulsecommon-12.2.so => /usr/lib/pulseaudio/libpulsecommon-12.2.so (0x00007fccaacbe000)

    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fccaac76000)

    libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007fccaac67000)

    libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007fccaac56000)

    libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007fccaabb7000)

    would be great if the would tell you something meaningful ...

    Best Regards

    Sappi

    once again after autoupdate from 28. February: librespot binary is broken

    after replacing the binary with my self build one the device appeared back on spotify connect ... but trying to play a song I hear no audio, even though the the song appears to be played on the client device.

    Then I removed the --backend pulseaudio switch from librespot.start

    now everything works again.

    any thoughts why this is would be highly appreciated.

    after having solved the above issue, I received an update for the librespot addon (version 118), throught the update channel.

    this update again delivered a non functional binary:

    journalctl -u service.librespot


    Jan 06 12:03:12 LibreELEC systemd[1]: Started librespot.

    Jan 06 12:03:14 LibreELEC sh[959]: [2020-01-06T11:03:14Z INFO librespot] librespot 54f729222c (2019-12-28). Built on 2019-12-

    Jan 06 12:03:14 LibreELEC sh[959]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi

    Jan 06 12:03:14 LibreELEC sh[959]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Jan 06 12:03:14 LibreELEC sh[959]: *** WARNING *** For more information see <avahi-compat.htm

    Jan 06 12:03:14 LibreELEC librespot[979]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer o

    Jan 06 12:03:14 LibreELEC librespot[979]: *** WARNING *** Please fix your application to use the native API of Avahi!

    Jan 06 12:03:14 LibreELEC librespot[979]: *** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-com

    Jan 06 12:03:14 LibreELEC sh[959]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DNSError(Unknown)',

    Jan 06 12:03:14 LibreELEC sh[959]: stack backtrace:

    Jan 06 12:03:15 LibreELEC sh[959]: 0: 0x55c3dbe49c94 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 1: 0x55c3dbe709cc - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 2: 0x55c3dbe44a57 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 3: 0x55c3dbe4c325 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 4: 0x55c3dbe4c016 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 5: 0x55c3dbe4ca25 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 6: 0x55c3dbe4c5c2 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 7: 0x55c3dbe4c4b6 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 8: 0x55c3dbe6c82a - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 9: 0x55c3dbe6c927 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 10: 0x55c3db9f62be - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 11: 0x55c3db9ce180 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 12: 0x55c3db9d0043 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 13: 0x55c3dbe4c453 - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 14: 0x55c3dbe547da - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 15: 0x55c3dbe4cf1d - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 16: 0x55c3db9cf382 - main

    Jan 06 12:03:15 LibreELEC sh[959]: 17: 0x7fda613d2b5b - __libc_start_main

    Jan 06 12:03:15 LibreELEC sh[959]: at ../csu/libc-start.c:308

    Jan 06 12:03:15 LibreELEC sh[959]: 18: 0x55c3db9aa1aa - <unknown>

    Jan 06 12:03:15 LibreELEC sh[959]: 19: 0x0 - <unknown>

    Jan 06 12:03:15 LibreELEC systemd[1]: service.librespot.service: Main process exited, code=exited, status=101/n/a

    Jan 06 12:03:15 LibreELEC systemd[1]: service.librespot.service: Failed with result 'exit-code'.

    Jan 06 12:03:15 LibreELEC systemd[1]: service.librespot.service: Service RestartSec=100ms expired, scheduling restart.

    Jan 06 12:03:15 LibreELEC systemd[1]: service.librespot.service: Scheduled restart job, restart counter is at 1.

    Jan 06 12:03:15 LibreELEC systemd[1]: Stopped librespot.

    after replacing the binary with the version I compiled myself ... everything is back to normal.

    If I was on a custom linux installation I could understand such issues ... but as I am under libreelec my freedom to screw up my system config is quite limited ....

    So I wonder why noone else seems to have this problem ....

    How stable is your network connection?

    Is it wired or wireless?

    If it is wireless, then try to switch to wired.

    Hi I am on wireless and there is nothing I can do about that ... however I doubt that this is the reason for the service executable crashing.

    But I got an update on this:

    I tried deinstalling and reinstalling the addon, but with no success, same issue as before. Then I went the the hard way:

    - setup build environment within docker container on my libreelec machine

    - got the librespots sources

    - applied the patches from the Libreelec repo

    - build everything

    - and replaced the executable within the addon with the newly build one.

    Now things are back to normal, everything works.

    But some rather general questions reamain:

    Why the addon installation process repeatedly installed a corrupt binary ?

    Where is the binary coming from ?

    Is it precompiled in the addon repo ? Or is it build while installing ?
    What is the url of the libreelec official repo ?

    Hi,

    I encounter sudden issues with the librespot addon. I am running x64 build 9.2 (latest official), which comes with addon version 117.

    After having worked for several months, suddenly the service will not start anymore

    actually the same happens when I try to run the binary from the console:


    any thought what could be the reason for that ?

    Best regards

    sappi

    Hi,

    not sure whether this is the right place to ask this question, however I will give it a try:

    I am using the game.libretro.vice addon to emulate my favorate c-64 games. Everything works fine so far. However I am struggeling at one point: Some games require the c-64 key “run/stop” to be pressed.

    Normally (on stand alone retroarch windows installation) this key is mapped to the “up arrow” key of the PC keyboard, this however seems not to work on libreelec.


    I supect some shadowing of the “up arrow” key to some game controller function … but I might be totally wrong here.

    My Setup:

    X64 System (Intel Atom 525), LibreELEC-Generic.x86_64-8.90.005

    Same behavior on:

    X96 (amlogic S905x 2G RAM 16G ROM) + [CoreELEC 8.95.2]

    Any hints apreciated.

    Best Regards

    Stephan