Hi, I learned that current Libreelec kernel is not built with DS3231 support, would it be possible to add it?
This was stupid easy to fix, but not that easy to debug - I have disabled Avahi a bit earlier, and this is why librespot failed.
Fixed after I used dbus-monitor --system to find that when starting up, Librespot tries to register with Avahi, but the service is nowhere to be found.
That mentions a DNS error.
Have you tried Settings/LibreELEC/Network/Wait for network before starting Kodi?
I don't think that's it - the network is fully up, I'm actually starting librespot over SSH for debug. I just downloaded system-tools to help me debug, so I'm pretty certain network and DNS are working.
Actually it doesn't even try DNS resolution at all before failing.
I'm attaching strace of librespot startup, perhaps you'll be able to see something there?
Thanks for that, however this is what's happening to me:Code
- # ./librespot -v -n libreelec
- INFO:librespot: librespot 2a2d526 (2018-03-08). Built on 2018-03-10. Build ID: 28HZvaFv
- DEBUG:librespot_connect::discovery: Zeroconf server listening on 0.0.0.0:0
- *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
- *** 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>
- thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DNSError(Unknown)', /checkout/src/libcore/result.rs:906:4
- stack backtrace:
- 0: 0x7fa98f - <unknown>
- 1: 0x7f69af - <unknown>
- 2: 0x7fea47 - <unknown>
- 3: 0x7fe733 - <unknown>
- 4: 0x7fefc7 - <unknown>
- 5: 0x7fee0f - <unknown>
- 6: 0x7fed93 - <unknown>
- 7: 0x7fed2b - <unknown>
- 8: 0x84791b - <unknown>
- 9: 0x4b8987 - <unknown>
- 10: 0x4d528f - <unknown>
- 11: 0x45400f - <unknown>
- 12: 0x808d23 - <unknown>
- 13: 0x7ff543 - <unknown>
- 14: 0x76cfe037 - __libc_start_main
- at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.27/csu/libc-start.c:30
How can I debug what's wrong?
Hi awiouy, first of all - thank you for your work on the addon!
As you mentioned, 109 is now outdated, and 110 has not been built yet for LE9. I'm an avid user, so I went to figure out how to configure build env, but I'm afraid I can't meet the requirements right now (decent CPU, 4 GB RAM, 20-25 GB SSD, Linux installed). If you have the build env ready, would you care to build the plugin for us, RPi2 users, and provide it here?
I'm sure I'm not the only one who would be most grateful