LibreELEC settings in Kodi
Posts by vpeter
-
-
I'm using 32GB sd cards and didn't have such problems.
To eliminate app error one other option is to unpack img.gz file and write it with some other tool. Like Win32DiskImager, Rufus, ...
-
Did you even enable firewall in LibreELEC settings? There are 4 options: Custom/Off/Home/Public. Set to custom and it will be used on boot.
-
-
-
mohammadsaeed01: Try Change Logo
-
You don't need to add anything to autostart.sh file because LCDd is service addon and starts automatically. You just need to set driver name in addon settings.
-
-
Enable debug in kodi, press blue key and check what you got in log.
Try using this one for blue button:
Code<m mod="ctrl">XBMC.RunScript(/storage/.kodi/userdata/turnon_keyboard.py)</m> --> <!-- blue button, MCE My music -->All 4 buttons from https://kodi.wiki/view/list_of_mce_remote_controls
-
-
XBMC.RunScript can execute only python script I think. I think the best would be to rewrote above script to python. To copy file use How do I copy a file in Python? - Stack Overflow and for notification xbmc.executebuiltin('Notification.
Maybe something like
Python#!/usr/bin/python import xbmc from shutil import copyfile copyfile('/storage/.kodi/userdata/bkpmaps/numbkeyboard.xml', '/storage/.kodi/userdata/keymaps/keyboard.xml') xbmc.executebuiltin('Action(reloadkeymaps)') xbmc.executebuiltin('Notification(Kodi Info, Keyboard Disabled, 7000, http://powerpi.de/wp-content/uploads/powerpi/powerpi_ambi_thumb_off.jpg)') -
-
Could be. I used empty and it worked too
Maybe noop is better (worth to check).QuoteAn empty action removes the corresponding mapping from default and parent keymaps
This is different from a "noop" action, which disables a button.
-
-
Default keyboard file is /usr/share/kodi/system/keymaps/keyboard.xml.
But I think all keys (or at least problematic ones) should be redefined to work this. Like
XML
Display More<?xml version="1.0" encoding="UTF-8"?> <keymap> <global> <keyboard> <blue>XBMC.RunScript(/storage/switch_keyboard.py)</blue> <left></left> <right></right> <up></up> <down></down> <!-- and all other problematic keys --> </keyboard> </global> </keymap>and having python script to switch between keyboard files and execute reloadkeymap.
-
Maybe you could disable/enable USB port where Flirc is connected?
Follow How to enable and disable a USB port using the terminal in Linux Kernel Version 3.11.1 - Quora
For me this works
Code
Display MoreLibreELEC:~ # for device in $(ls /sys/bus/usb/devices/*/product); do echo $device; cat $device; done /sys/bus/usb/devices/1-3/product flirc /sys/bus/usb/devices/1-5/product STM32 Virtual ComPort /sys/bus/usb/devices/usb1/product xHCI Host Controller /sys/bus/usb/devices/usb2/product xHCI Host Controller LibreELEC:~ # echo '1-3' > /sys/bus/usb/drivers/usb/unbind LibreELEC:~ # echo '1-3' > /sys/bus/usb/drivers/usb/bind -
Flirc is not IR device but keyboard if I'm not mistaken.
-