Posts by Aintnogeek

    hi, thanks for 110 version, but I have one problem, when I try to use setting "Kodi" instead of "ALSA" I have some strange audio reproduction like 8bit tune in short intervals. Any idea? Using latest kodi 18 RPI 3 from March realises

    Hello, I am not shore if this is right place where to post, but here it goes.


    I had a problem that I wanted my MCE remote Power button on Libreelec RPI3 Kodi 18, to turn off screen (HDMI) but keep running for samba, transmission etc.:idea:


    If kids accidentally pressed MCE power button system was powered off.


    So what I did:


    1. Install Power Display screen saver - https://github.com/asavah/script.pidisplaypower

    2. Select Power Display as active screen saver

    3. Install Key Map Editor addon https://kodi.wiki/view/Add-on:Keymap_Editor

    4. Edit some key and save (so gen.xml file is created)

    5. Modify gen.xml (you can access it via Libreelec Samba) by deleting all that was saved in userdata/keymaps/gen.xml and copying this in gen.xml:



    6. Save changes

    7. Reboot and all works as it should



    A lot of credit goes to Power Display screen saver and friendly OSCM forum post - OSCM post by user baloan


    Hope it helps to other RPI Libreelec users!

    LibreELEC:~ # irw

    6c 0 KEY_DOWN devinput

    67 0 KEY_UP devinput

    69 0 KEY_LEFT devinput

    6a 0 KEY_RIGHT devinput

    18f 0 KEY_GREEN devinput

    190 0 KEY_YELLOW devinput

    191 0 KEY_BLUE devinput

    20b 0 KEY_NUMERIC_POUND devinput

    20b 0 KEY_NUMERIC_POUND devinput

    200 0 KEY_NUMERIC_0 devinput

    8e 0 KEY_SLEEP devinput

    googling here an there, i found that there is no key id for mce remote power buttion.


    Thing is that key editor and lirc treat mce remote as keyboard,e.g. KEY_RED is actually key id=251.


    And mce power shuld be KEY_SUSPEND and there is no key id for that.


    I tried to turn debuging on and all I saw was KEY_DOWN, KEY_UP, suspend or other didn't apear at all.


    checking with ssh running irw all I can see is KEY_DOWN, KEY_GREEN etc without key id.

    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

    thanks for some tips-


    1. Yes I use Kodi

    2. I need wife and kids safe setup not geek one- push this buttion to turn on and push again to turn off

    3.what I want is to cut of HDMI, but keep libreelec keep running as samba. Turn on /off hdmi with ease of mce remote power buttion.

    4. And if you could provide how to for nonecoder for making script for RC6 MCE remote power buttion to execute

    on/off with vcgencmd display_power 1 and vcgencmd display_power

    that would be superb!!!

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

    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.