Posts by KnoRke84
-
-
Hyperion is automatically started when I start the rpi. All files I ever layed hands on were the ones in the zip.
The hyperiond.sh is present in the folder of your code. I don't know why it does not start...
-
We're getting closer The script stops Hyperion but doesn't open it on keypress again.
Code
Display More15:15:56.736 T:1962259568 DEBUG: OnKey: doublequote (0xf022) pressed, action is XBMC.RunScript(/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py) 15:15:56.737 T:1526203296 DEBUG: Thread LanguageInvoker start, auto delete: false 15:15:56.737 T:1526203296 INFO: initializing python engine. 15:15:56.737 T:1526203296 DEBUG: CPythonInvoker(27, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): start processing 15:15:56.796 T:1526203296 DEBUG: -->Python Interpreter Initialized<-- 15:15:56.796 T:1526203296 DEBUG: CPythonInvoker(27, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): the source file to load is "/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py" 15:15:56.796 T:1526203296 WARNING: CPythonInvoker(27): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. 15:15:56.807 T:1526203296 DEBUG: CPythonInvoker(27, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): setting the Python path to /storage/.kodi/userdata/addon_data/service.hyperion:/usr/share/kodi/addons/script.module.pil/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/plugin.video.youtube/resources/lib/:/storage/.kodi/addons/script.module.mechanize/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/storage/.kodi/addons/script.web.viewer/lib:/storage/.kodi/addons/script.module.simplejson/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.unidecode/lib:/storage/.kodi/addons/script.module.cherrypy/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.arrow/lib:/storage/.kodi/addons/script.module.beautifulsoup/lib:/storage/.kodi/addons/script.module.musicbrainz/lib:/storage/.kodi/addons/script.module.simplecache/lib:/storage/.kodi/addons/script.module.thetvdb/lib:/storage/.kodi/addons/script.module.metadatautils/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0 15:15:56.808 T:1526203296 DEBUG: CPythonInvoker(27, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): entering source directory /storage/.kodi/userdata/addon_data/service.hyperion 15:15:56.893 T:1526203296 INFO: CPythonInvoker(27, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): script successfully run 15:15:56.899 T:1526203296 INFO: Python script stopped 15:15:56.900 T:1526203296 DEBUG: Thread LanguageInvoker 1526203296 terminating 15:15:56.902 T:1962259568 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x0 15:15:56.902 T:1962259568 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0 15:15:57.110 T:1962259568 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x1 15:15:57.111 T:1962259568 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is 15:15:57.111 T:1962259568 DEBUG: Keyboard: scancode: 0x03, sym: 0x0022, unicode: 0x0022, modifier: 0x1 15:15:57.111 T:1962259568 DEBUG: OnKey: doublequote (0xf022) pressed, action is XBMC.RunScript(/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py) 15:15:57.111 T:1526203296 DEBUG: Thread LanguageInvoker start, auto delete: false 15:15:57.111 T:1526203296 INFO: initializing python engine. 15:15:57.111 T:1526203296 DEBUG: CPythonInvoker(28, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): start processing 15:15:57.141 T:1526203296 DEBUG: -->Python Interpreter Initialized<-- 15:15:57.141 T:1526203296 DEBUG: CPythonInvoker(28, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): the source file to load is "/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py" 15:15:57.141 T:1526203296 WARNING: CPythonInvoker(28): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. 15:15:57.147 T:1526203296 DEBUG: CPythonInvoker(28, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): setting the Python path to /storage/.kodi/userdata/addon_data/service.hyperion:/usr/share/kodi/addons/script.module.pil/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/plugin.video.youtube/resources/lib/:/storage/.kodi/addons/script.module.mechanize/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/storage/.kodi/addons/script.web.viewer/lib:/storage/.kodi/addons/script.module.simplejson/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.unidecode/lib:/storage/.kodi/addons/script.module.cherrypy/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.arrow/lib:/storage/.kodi/addons/script.module.beautifulsoup/lib:/storage/.kodi/addons/script.module.musicbrainz/lib:/storage/.kodi/addons/script.module.simplecache/lib:/storage/.kodi/addons/script.module.thetvdb/lib:/storage/.kodi/addons/script.module.metadatautils/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0 15:15:57.147 T:1526203296 DEBUG: CPythonInvoker(28, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): entering source directory /storage/.kodi/userdata/addon_data/service.hyperion 15:15:57.223 T:1526203296 INFO: CPythonInvoker(28, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): script successfully run 15:15:57.229 T:1526203296 INFO: Python script stopped 15:15:57.229 T:1526203296 DEBUG: Thread LanguageInvoker 1526203296 terminating 15:15:57.277 T:1962259568 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x0 15:15:57.278 T:1962259568 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0 15:15:57.402 T:1962259568 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x1 15:15:57.403 T:1962259568 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is 15:15:57.403 T:1962259568 DEBUG: Keyboard: scancode: 0x03, sym: 0x0022, unicode: 0x0022, modifier: 0x1 15:15:57.403 T:1962259568 DEBUG: OnKey: doublequote (0xf022) pressed, action is XBMC.RunScript(/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py) 15:15:57.403 T:1526203296 DEBUG: Thread LanguageInvoker start, auto delete: false 15:15:57.403 T:1526203296 INFO: initializing python engine. 15:15:57.403 T:1526203296 DEBUG: CPythonInvoker(29, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): start processing 15:15:57.435 T:1526203296 DEBUG: -->Python Interpreter Initialized<-- 15:15:57.435 T:1526203296 DEBUG: CPythonInvoker(29, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): the source file to load is "/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py" 15:15:57.435 T:1526203296 WARNING: CPythonInvoker(29): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. 15:15:57.442 T:1526203296 DEBUG: CPythonInvoker(29, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): setting the Python path to /storage/.kodi/userdata/addon_data/service.hyperion:/usr/share/kodi/addons/script.module.pil/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/plugin.video.youtube/resources/lib/:/storage/.kodi/addons/script.module.mechanize/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/storage/.kodi/addons/script.web.viewer/lib:/storage/.kodi/addons/script.module.simplejson/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.unidecode/lib:/storage/.kodi/addons/script.module.cherrypy/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.arrow/lib:/storage/.kodi/addons/script.module.beautifulsoup/lib:/storage/.kodi/addons/script.module.musicbrainz/lib:/storage/.kodi/addons/script.module.simplecache/lib:/storage/.kodi/addons/script.module.thetvdb/lib:/storage/.kodi/addons/script.module.metadatautils/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0 15:15:57.442 T:1526203296 DEBUG: CPythonInvoker(29, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): entering source directory /storage/.kodi/userdata/addon_data/service.hyperion 15:15:57.519 T:1526203296 INFO: CPythonInvoker(29, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): script successfully run 15:15:57.526 T:1526203296 INFO: Python script stopped 15:15:57.526 T:1526203296 DEBUG: Thread LanguageInvoker 1526203296 terminating 15:15:57.570 T:1962259568 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x0 15:15:57.570 T:1962259568 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0 15:16:00.306 T:1796735904 ERROR: OnTvStandby - Unexpected [standby_pc_on_tv_standby] setting value
-
Code
Display More############################################## # LibreELEC # # http://libreelec.tv # ############################################## LibreELEC (official) Version: 8.0.2 KodiPI:~ # ps PID USER TIME COMMAND 1 root 0:02 /usr/lib/systemd/systemd 2 root 0:00 [kthreadd] 3 root 0:03 [ksoftirqd/0] 5 root 0:00 [kworker/0:0H] 6 root 0:00 [kworker/u8:0] 7 root 0:04 [rcu_sched] 8 root 0:00 [rcu_bh] 9 root 0:00 [migration/0] 10 root 0:00 [lru-add-drain] 11 root 0:00 [watchdog/0] 12 root 0:00 [cpuhp/0] 13 root 0:00 [cpuhp/1] 14 root 0:00 [watchdog/1] 15 root 0:00 [migration/1] 16 root 0:00 [ksoftirqd/1] 18 root 0:00 [kworker/1:0H] 19 root 0:00 [cpuhp/2] 20 root 0:00 [watchdog/2] 21 root 0:00 [migration/2] 22 root 0:01 [ksoftirqd/2] 24 root 0:00 [kworker/2:0H] 25 root 0:00 [cpuhp/3] 26 root 0:00 [watchdog/3] 27 root 0:00 [migration/3] 28 root 0:00 [ksoftirqd/3] 30 root 0:00 [kworker/3:0H] 31 root 0:00 [kdevtmpfs] 32 root 0:00 [netns] 33 root 0:00 [oom_reaper] 34 root 0:00 [writeback] 35 root 0:00 [kcompactd0] 36 root 0:00 [crypto] 37 root 0:00 [bioset] 38 root 0:00 [kblockd] 39 root 0:00 [watchdogd] 40 root 0:08 [kworker/0:1] 41 root 0:00 [rpciod] 42 root 0:00 [xprtiod] 45 root 0:00 [kswapd0] 46 root 0:00 [vmstat] 47 root 0:00 [nfsiod] 48 root 0:00 [cifsiod] 49 root 0:00 [cifsoplockd] 66 root 0:00 [bioset] 67 root 0:00 [bioset] 68 root 0:00 [bioset] 69 root 0:00 [bioset] 70 root 0:00 [bioset] 71 root 0:00 [bioset] 72 root 0:00 [bioset] 73 root 0:00 [bioset] 74 root 0:00 [bioset] 75 root 0:00 [bioset] 76 root 0:00 [bioset] 77 root 0:00 [bioset] 78 root 0:00 [bioset] 79 root 0:00 [bioset] 80 root 0:00 [bioset] 81 root 0:00 [bioset] 82 root 0:00 [bioset] 83 root 0:00 [bioset] 84 root 0:00 [bioset] 85 root 0:00 [bioset] 86 root 0:00 [bioset] 87 root 0:00 [bioset] 88 root 0:00 [bioset] 89 root 0:00 [bioset] 90 root 0:00 [bioset] 91 root 0:00 [bioset] 92 root 0:00 [bioset] 93 root 0:00 [bioset] 94 root 0:00 [bioset] 95 root 0:00 [bioset] 96 root 0:00 [bioset] 97 root 0:00 [bioset] 98 root 0:00 [iscsi_eh] 99 root 0:00 [dwc_otg] 101 root 0:00 [DWC Notificatio] 102 root 3:00 [VCHIQ-0] 103 root 2:11 [VCHIQr-0] 104 root 0:00 [VCHIQs-0] 105 root 0:00 [ipv6_addrconf] 106 root 0:00 [VCHIQka-0] 107 root 0:01 [SMIO] 109 root 0:00 [irq/92-mmc1] 111 root 0:00 [kworker/3:1] 115 root 0:00 [bioset] 116 root 0:02 [mmcqd/0] 147 root 0:02 [jbd2/mmcblk0p7-] 148 root 0:00 [ext4-rsv-conver] 159 root 0:00 [bioset] 160 root 0:00 [loop0] 161 root 0:00 [kworker/2:1H] 184 root 0:00 [kworker/1:1H] 186 root 0:00 [kworker/3:1H] 193 root 0:00 [kworker/0:1H] 201 root 0:00 [kworker/1:2] 208 root 0:03 [kworker/3:2] 212 root 0:35 /usr/lib/systemd/systemd-journald 243 root 0:00 /usr/bin/rpcbind -f 250 root 0:00 /usr/lib/systemd/systemd-udevd 255 root 0:05 /usr/bin/pulseaudio --system 259 dbus 0:05 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 282 root 0:00 [spi0] 310 root 0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd 313 root 0:00 [cfg80211] 320 root 0:00 /usr/lib/systemd/systemd-logind 343 root 0:00 /sbin/crond -f -S 438 root 0:00 /usr/sbin/connmand -nr --config=/etc/connman/main.conf 465 root 0:00 [brcmf_wq/mmc1:0] 466 root 0:00 [brcmf_wdog/mmc1] 472 avahi 0:28 avahi-daemon: running [KodiPI.local] 477 root 0:00 /usr/sbin/sshd -D 509 root 0:00 /usr/bin/wpa_supplicant -u 524 root 0:00 /usr/bin/smbd --configfile=/run/samba/smb.conf 531 root 0:01 /usr/bin/nmbd --configfile=/run/samba/smb.conf 535 root 0:00 {hyperiond.sh} /bin/sh /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json 537 root 23:14 /storage/hyperion/bin/hyperiond /storage/.config/hyperion.config.json 543 root 0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd 557 root 131:25 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd 828 root 0:00 [kworker/u9:0] 829 root 0:00 [hci0] 830 root 0:00 [hci0] 831 root 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - 832 root 0:00 [kworker/u9:1] 1035 root 0:00 /bin/sh /storage/.kodi/addons/service.librespot/bin/librespot.start 1051 root 0:00 librespot --cache /storage/.kodi/userdata/addon_data/service.librespot/cache --disable-audio-cache --name Librespot@K 1056 root 0:01 [kworker/u8:2] 1067 root 0:04 [kworker/1:0] 1126 root 0:00 [kworker/0:0] 1304 root 0:00 [kworker/2:2] 1308 root 0:00 [kworker/2:0] 1309 root 0:00 [kworker/2:1] 1311 root 0:00 sshd: root@pts/0 1312 root 0:00 -sh 1315 root 0:00 ps KodiPI:~ # python /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py Failed to stop service.hyperion.service: Unit service.hyperion.service not loaded. KodiPI:~ # ps PID USER TIME COMMAND 1 root 0:02 /usr/lib/systemd/systemd 2 root 0:00 [kthreadd] 3 root 0:03 [ksoftirqd/0] 5 root 0:00 [kworker/0:0H] 6 root 0:00 [kworker/u8:0] 7 root 0:04 [rcu_sched] 8 root 0:00 [rcu_bh] 9 root 0:00 [migration/0] 10 root 0:00 [lru-add-drain] 11 root 0:00 [watchdog/0] 12 root 0:00 [cpuhp/0] 13 root 0:00 [cpuhp/1] 14 root 0:00 [watchdog/1] 15 root 0:00 [migration/1] 16 root 0:00 [ksoftirqd/1] 18 root 0:00 [kworker/1:0H] 19 root 0:00 [cpuhp/2] 20 root 0:00 [watchdog/2] 21 root 0:00 [migration/2] 22 root 0:01 [ksoftirqd/2] 24 root 0:00 [kworker/2:0H] 25 root 0:00 [cpuhp/3] 26 root 0:00 [watchdog/3] 27 root 0:00 [migration/3] 28 root 0:00 [ksoftirqd/3] 30 root 0:00 [kworker/3:0H] 31 root 0:00 [kdevtmpfs] 32 root 0:00 [netns] 33 root 0:00 [oom_reaper] 34 root 0:00 [writeback] 35 root 0:00 [kcompactd0] 36 root 0:00 [crypto] 37 root 0:00 [bioset] 38 root 0:00 [kblockd] 39 root 0:00 [watchdogd] 40 root 0:08 [kworker/0:1] 41 root 0:00 [rpciod] 42 root 0:00 [xprtiod] 45 root 0:00 [kswapd0] 46 root 0:00 [vmstat] 47 root 0:00 [nfsiod] 48 root 0:00 [cifsiod] 49 root 0:00 [cifsoplockd] 66 root 0:00 [bioset] 67 root 0:00 [bioset] 68 root 0:00 [bioset] 69 root 0:00 [bioset] 70 root 0:00 [bioset] 71 root 0:00 [bioset] 72 root 0:00 [bioset] 73 root 0:00 [bioset] 74 root 0:00 [bioset] 75 root 0:00 [bioset] 76 root 0:00 [bioset] 77 root 0:00 [bioset] 78 root 0:00 [bioset] 79 root 0:00 [bioset] 80 root 0:00 [bioset] 81 root 0:00 [bioset] 82 root 0:00 [bioset] 83 root 0:00 [bioset] 84 root 0:00 [bioset] 85 root 0:00 [bioset] 86 root 0:00 [bioset] 87 root 0:00 [bioset] 88 root 0:00 [bioset] 89 root 0:00 [bioset] 90 root 0:00 [bioset] 91 root 0:00 [bioset] 92 root 0:00 [bioset] 93 root 0:00 [bioset] 94 root 0:00 [bioset] 95 root 0:00 [bioset] 96 root 0:00 [bioset] 97 root 0:00 [bioset] 98 root 0:00 [iscsi_eh] 99 root 0:00 [dwc_otg] 101 root 0:00 [DWC Notificatio] 102 root 3:00 [VCHIQ-0] 103 root 2:11 [VCHIQr-0] 104 root 0:00 [VCHIQs-0] 105 root 0:00 [ipv6_addrconf] 106 root 0:00 [VCHIQka-0] 107 root 0:01 [SMIO] 109 root 0:00 [irq/92-mmc1] 111 root 0:00 [kworker/3:1] 115 root 0:00 [bioset] 116 root 0:02 [mmcqd/0] 147 root 0:02 [jbd2/mmcblk0p7-] 148 root 0:00 [ext4-rsv-conver] 159 root 0:00 [bioset] 160 root 0:00 [loop0] 161 root 0:00 [kworker/2:1H] 184 root 0:00 [kworker/1:1H] 186 root 0:00 [kworker/3:1H] 193 root 0:00 [kworker/0:1H] 201 root 0:00 [kworker/1:2] 208 root 0:03 [kworker/3:2] 212 root 0:35 /usr/lib/systemd/systemd-journald 243 root 0:00 /usr/bin/rpcbind -f 250 root 0:00 /usr/lib/systemd/systemd-udevd 255 root 0:05 /usr/bin/pulseaudio --system 259 dbus 0:05 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 282 root 0:00 [spi0] 310 root 0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd 313 root 0:00 [cfg80211] 320 root 0:00 /usr/lib/systemd/systemd-logind 343 root 0:00 /sbin/crond -f -S 438 root 0:00 /usr/sbin/connmand -nr --config=/etc/connman/main.conf 465 root 0:00 [brcmf_wq/mmc1:0] 466 root 0:00 [brcmf_wdog/mmc1] 472 avahi 0:28 avahi-daemon: running [KodiPI.local] 477 root 0:00 /usr/sbin/sshd -D 509 root 0:00 /usr/bin/wpa_supplicant -u 524 root 0:00 /usr/bin/smbd --configfile=/run/samba/smb.conf 531 root 0:01 /usr/bin/nmbd --configfile=/run/samba/smb.conf 535 root 0:00 {hyperiond.sh} /bin/sh /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json 537 root 23:14 /storage/hyperion/bin/hyperiond /storage/.config/hyperion.config.json 543 root 0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd 557 root 131:27 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd 828 root 0:00 [kworker/u9:0] 829 root 0:00 [hci0] 830 root 0:00 [hci0] 831 root 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - 832 root 0:00 [kworker/u9:1] 1035 root 0:00 /bin/sh /storage/.kodi/addons/service.librespot/bin/librespot.start 1051 root 0:00 librespot --cache /storage/.kodi/userdata/addon_data/service.librespot/cache --disable-audio-cache --name Librespot@K 1056 root 0:01 [kworker/u8:2] 1067 root 0:04 [kworker/1:0] 1126 root 0:00 [kworker/0:0] 1308 root 0:00 [kworker/2:0] 1309 root 0:00 [kworker/2:1] 1311 root 0:00 sshd: root@pts/0 1312 root 0:00 -sh 1324 root 0:00 [kworker/2:2] 1325 root 0:00 ps KodiPI:~ # python /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py Failed to stop service.hyperion.service: Unit service.hyperion.service not loaded. KodiPI:~ # ps PID USER TIME COMMAND 1 root 0:02 /usr/lib/systemd/systemd 2 root 0:00 [kthreadd] 3 root 0:03 [ksoftirqd/0] 5 root 0:00 [kworker/0:0H] 6 root 0:00 [kworker/u8:0] 7 root 0:04 [rcu_sched] 8 root 0:00 [rcu_bh] 9 root 0:00 [migration/0] 10 root 0:00 [lru-add-drain] 11 root 0:00 [watchdog/0] 12 root 0:00 [cpuhp/0] 13 root 0:00 [cpuhp/1] 14 root 0:00 [watchdog/1] 15 root 0:00 [migration/1] 16 root 0:00 [ksoftirqd/1] 18 root 0:00 [kworker/1:0H] 19 root 0:00 [cpuhp/2] 20 root 0:00 [watchdog/2] 21 root 0:00 [migration/2] 22 root 0:01 [ksoftirqd/2] 24 root 0:00 [kworker/2:0H] 25 root 0:00 [cpuhp/3] 26 root 0:00 [watchdog/3] 27 root 0:00 [migration/3] 28 root 0:00 [ksoftirqd/3] 30 root 0:00 [kworker/3:0H] 31 root 0:00 [kdevtmpfs] 32 root 0:00 [netns] 33 root 0:00 [oom_reaper] 34 root 0:00 [writeback] 35 root 0:00 [kcompactd0] 36 root 0:00 [crypto] 37 root 0:00 [bioset] 38 root 0:00 [kblockd] 39 root 0:00 [watchdogd] 40 root 0:08 [kworker/0:1] 41 root 0:00 [rpciod] 42 root 0:00 [xprtiod] 45 root 0:00 [kswapd0] 46 root 0:00 [vmstat] 47 root 0:00 [nfsiod] 48 root 0:00 [cifsiod] 49 root 0:00 [cifsoplockd] 66 root 0:00 [bioset] 67 root 0:00 [bioset] 68 root 0:00 [bioset] 69 root 0:00 [bioset] 70 root 0:00 [bioset] 71 root 0:00 [bioset] 72 root 0:00 [bioset] 73 root 0:00 [bioset] 74 root 0:00 [bioset] 75 root 0:00 [bioset] 76 root 0:00 [bioset] 77 root 0:00 [bioset] 78 root 0:00 [bioset] 79 root 0:00 [bioset] 80 root 0:00 [bioset] 81 root 0:00 [bioset] 82 root 0:00 [bioset] 83 root 0:00 [bioset] 84 root 0:00 [bioset] 85 root 0:00 [bioset] 86 root 0:00 [bioset] 87 root 0:00 [bioset] 88 root 0:00 [bioset] 89 root 0:00 [bioset] 90 root 0:00 [bioset] 91 root 0:00 [bioset] 92 root 0:00 [bioset] 93 root 0:00 [bioset] 94 root 0:00 [bioset] 95 root 0:00 [bioset] 96 root 0:00 [bioset] 97 root 0:00 [bioset] 98 root 0:00 [iscsi_eh] 99 root 0:00 [dwc_otg] 101 root 0:00 [DWC Notificatio] 102 root 3:00 [VCHIQ-0] 103 root 2:11 [VCHIQr-0] 104 root 0:00 [VCHIQs-0] 105 root 0:00 [ipv6_addrconf] 106 root 0:00 [VCHIQka-0] 107 root 0:01 [SMIO] 109 root 0:00 [irq/92-mmc1] 111 root 0:00 [kworker/3:1] 115 root 0:00 [bioset] 116 root 0:02 [mmcqd/0] 147 root 0:02 [jbd2/mmcblk0p7-] 148 root 0:00 [ext4-rsv-conver] 159 root 0:00 [bioset] 160 root 0:00 [loop0] 161 root 0:00 [kworker/2:1H] 184 root 0:00 [kworker/1:1H] 186 root 0:00 [kworker/3:1H] 193 root 0:00 [kworker/0:1H] 201 root 0:00 [kworker/1:2] 208 root 0:03 [kworker/3:2] 212 root 0:35 /usr/lib/systemd/systemd-journald 243 root 0:00 /usr/bin/rpcbind -f 250 root 0:00 /usr/lib/systemd/systemd-udevd 255 root 0:05 /usr/bin/pulseaudio --system 259 dbus 0:05 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 282 root 0:00 [spi0] 310 root 0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd 313 root 0:00 [cfg80211] 320 root 0:00 /usr/lib/systemd/systemd-logind 343 root 0:00 /sbin/crond -f -S 438 root 0:00 /usr/sbin/connmand -nr --config=/etc/connman/main.conf 465 root 0:00 [brcmf_wq/mmc1:0] 466 root 0:00 [brcmf_wdog/mmc1] 472 avahi 0:28 avahi-daemon: running [KodiPI.local] 477 root 0:00 /usr/sbin/sshd -D 509 root 0:00 /usr/bin/wpa_supplicant -u 524 root 0:00 /usr/bin/smbd --configfile=/run/samba/smb.conf 531 root 0:01 /usr/bin/nmbd --configfile=/run/samba/smb.conf 535 root 0:00 {hyperiond.sh} /bin/sh /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json 537 root 23:14 /storage/hyperion/bin/hyperiond /storage/.config/hyperion.config.json 543 root 0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd 557 root 131:27 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd 828 root 0:00 [kworker/u9:0] 829 root 0:00 [hci0] 830 root 0:00 [hci0] 831 root 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - 832 root 0:00 [kworker/u9:1] 1035 root 0:00 /bin/sh /storage/.kodi/addons/service.librespot/bin/librespot.start 1051 root 0:00 librespot --cache /storage/.kodi/userdata/addon_data/service.librespot/cache --disable-audio-cache --name Librespot@K 1056 root 0:01 [kworker/u8:2] 1067 root 0:04 [kworker/1:0] 1126 root 0:00 [kworker/0:0] 1308 root 0:00 [kworker/2:0] 1309 root 0:00 [kworker/2:1] 1311 root 0:00 sshd: root@pts/0 1312 root 0:00 -sh 1324 root 0:00 [kworker/2:2] 1334 root 0:00 ps KodiPI:~ # python /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py Failed to stop service.hyperion.service: Unit service.hyperion.service not loaded. KodiPI:~ #
-
Thank you at least I get a reaction from the key now. This is what the Log says. (switching Hyperion on & off still not working)
Code
Display More23:00:48.288 T:1962685552 DEBUG: OnKey: doublequote (0xf022) pressed, action is XBMC.RunScript(/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py) 23:00:48.288 T:1432351648 DEBUG: Thread LanguageInvoker start, auto delete: false 23:00:48.288 T:1962685552 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x0 23:00:48.288 T:1432351648 INFO: initializing python engine. 23:00:48.288 T:1962685552 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0 23:00:48.289 T:1432351648 DEBUG: CPythonInvoker(19, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): start processing 23:00:48.321 T:1432351648 DEBUG: -->Python Interpreter Initialized<-- 23:00:48.321 T:1432351648 DEBUG: CPythonInvoker(19, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): the source file to load is "/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py" 23:00:48.321 T:1432351648 WARNING: CPythonInvoker(19): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. 23:00:48.327 T:1432351648 DEBUG: CPythonInvoker(19, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): setting the Python path to /storage/.kodi/userdata/addon_data/service.hyperion:/usr/share/kodi/addons/script.module.pil/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/plugin.video.youtube/resources/lib/:/storage/.kodi/addons/script.module.mechanize/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/storage/.kodi/addons/script.web.viewer/lib:/storage/.kodi/addons/script.module.simplejson/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.unidecode/lib:/storage/.kodi/addons/script.module.cherrypy/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.arrow/lib:/storage/.kodi/addons/script.module.beautifulsoup/lib:/storage/.kodi/addons/script.module.musicbrainz/lib:/storage/.kodi/addons/script.module.simplecache/lib:/storage/.kodi/addons/script.module.thetvdb/lib:/storage/.kodi/addons/script.module.metadatautils/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0 23:00:48.327 T:1432351648 DEBUG: CPythonInvoker(19, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): entering source directory /storage/.kodi/userdata/addon_data/service.hyperion 23:00:48.428 T:1432351648 INFO: CPythonInvoker(19, /storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.py): script successfully run 23:00:48.434 T:1432351648 INFO: Python script stopped 23:00:48.434 T:1432351648 DEBUG: Thread LanguageInvoker 1432351648 terminating
-
-
All extra files are attached as screenshots 2 posts above in my imgur folder
-
Hey vpeter,
Look at the 3rd image. I posted it on imgur as writen above.
Display Spoiler
##############################################
# LibreELEC #
# LibreELEC – Just enough OS for KODI #
##############################################
LibreELEC (official) Version: 8.0.2
KodiPI:~ # tail -f /storage/.kodi/temp/kodi.log
20:08:54.821 T:1961796720 INFO: CheckIdle - Closing session to LibreELEC – Just enough OS for KODI (easy=0x73b02d98, multi=0x73b38798)
20:08:55.337 T:1961796720 INFO: CheckIdle - Closing session to feeds.kodi.tv (easy=0x73b13e88, multi=0x5d076a70)
20:08:55.703 T:1873802144 DEBUG: Thread JobWorker 1873802144 terminating (autodelete)
20:08:55.727 T:1722287008 DEBUG: Thread JobWorker 1722287008 terminating (autodelete)
20:08:57.871 T:1542460320 DEBUG: Thread JobWorker 1542460320 terminating (autodelete)
20:08:57.885 T:1671955360 DEBUG: Thread JobWorker 1671955360 terminating (autodelete)
20:09:42.944 T:1929376672 DEBUG: CAESinkPi:Drain delay:100ms now:0ms
20:09:52.945 T:1929376672 DEBUG: CAESinkPi:Deinitialize
20:09:52.945 T:1929376672 DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
20:09:52.954 T:1929376672 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x72601a48
20:10:02.271 T:1961796720 NOTICE: Samba is idle. Closing the remaining connections
20:10:27.704 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:27.704 T:1961796720 DEBUG: OnKey: down (0xf081) pressed, action is Down
20:10:27.705 T:1929376672 INFO: CActiveAESink::OpenSink - initialize sink
20:10:27.705 T:1929376672 DEBUG: CActiveAESink::OpenSink - trying to open device PI:HDMI
20:10:27.705 T:1929376672 DEBUG: CAESinkPi:Initialize Format:15 Channels:6 Samplerate:44100 framesize:24 bufsize:52920 bytes/s=1058400.00 dest=PI:HDMI
20:10:27.706 T:1929376672 DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 0b02c4c8
20:10:27.707 T:1929376672 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x7262bf08
20:10:27.711 T:1929376672 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_render) - port(100), nBufferCountMin(1), nBufferCountActual(2), nBufferSize(52928), nBufferAlignmen(16)
20:10:27.712 T:1929376672 DEBUG: CActiveAESink::OpenSink - SinkPi Initialized:
20:10:27.712 T:1929376672 DEBUG: Output Device : HDMI
20:10:27.712 T:1929376672 DEBUG: Sample Rate : 44100
20:10:27.712 T:1929376672 DEBUG: Sample Format : AE_FMT_FLOAT
20:10:27.712 T:1929376672 DEBUG: Channel Count : 6
20:10:27.712 T:1929376672 DEBUG: Channel Layout: FL,FR,FC,LFE,SL,SR
20:10:27.712 T:1929376672 DEBUG: Frames : 2205
20:10:27.712 T:1929376672 DEBUG: Frame Size : 24
20:10:27.821 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:27.921 T:1961796720 DEBUG: Previous line repeats 1 times.
20:10:27.921 T:1961796720 DEBUG: OnKey: down (0xf081) pressed, action is Down
20:10:28.037 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:28.104 T:1961796720 DEBUG: Previous line repeats 1 times.
20:10:28.104 T:1961796720 DEBUG: OnKey: down (0xf081) pressed, action is Down
20:10:28.187 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:28.271 T:1961796720 DEBUG: Previous line repeats 1 times.
20:10:28.271 T:1961796720 DEBUG: OnKey: down (0xf081) pressed, action is Down
20:10:28.371 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:28.471 T:1961796720 DEBUG: Previous line repeats 1 times.
20:10:28.471 T:1961796720 DEBUG: OnKey: down (0xf081) pressed, action is Down
20:10:28.521 T:1961796720 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:10:28.987 T:1961796720 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x1
20:10:28.988 T:1961796720 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is
20:10:28.988 T:1961796720 DEBUG: Keyboard: scancode: 0x03, sym: 0x0022, unicode: 0x0022, modifier: 0x1
20:10:28.988 T:1961796720 DEBUG: OnKey: doublequote (0xf022) pressed, action is
20:10:29.121 T:1961796720 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x0
20:10:29.121 T:1961796720 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0
20:10:29.204 T:1961796720 DEBUG: Keyboard: scancode: 0x2a, sym: 0x0130, unicode: 0x0000, modifier: 0x1
-
-
Hello guys, sorry for not responding so long - I have been on vacation for 3 weeks.
I uploaded images of all the files I used, the file system and the kodi log when I press the button. I hope someone can tell me what the heck I am doing wrong
https://imgur.com/a/7Im4R
Note: the "doublequote" Button is the alternate binding on my remotes "@" key - I also used a variety of other keybindings but non of them seem to work.
It also says in the Log that the button is pressed but there is no action afterwards.
Regards
KnoRke
-
Hey guys,
first of all thank you for all the responds you gave me.
But I am still kinda stuck. I used vpeters scripts and assigned the insert key with it. I also bought a remote where I assigned different keys with the script. (Added the script for the remote in the remote.xml)
None of this seems to work. When I use the Mac Terminal and trail the kodi.log to see which keypress is recognized it shows me the key but after "action" there is nothing displayed.
If the script would be assigned correctly wouldnt there be a action assigned in the kodi.log?
Thanks in advance!
-
What is the blue key for? Is it the blue key on a remote? As I said i am using a keyboard and dont know where there should be a blue Key Insert is the Insert Key from the keyboard.
When i create the Script with blue Key i dont know what Key to press on the keyboard. But I will for sure Check the tail command out.
-
Thanks alot so far!
this is as far as I get...
created the sh file - worked.
created the remote.xml - worked
But when I now try to press the "Insert" Button on my Keyboard nothing happens. This is what my script looks like
Code<keyboard> <key id="insert">system.exec("/storage/.kodi/userdata/addon_data/service.hyperion/hyperion_switch.sh")</key> </keyboard>
Is that wrong? Sorry as I said I'm pretty much a noob... If I use insert or VK_INSERT does not make a difference... I also tried the codes from the kodi.log but still no change (in kodi wiki there is said something about a decimal number in the log file but there just was none. only hex and text just as "homepage" when I tried the homepage button)
Thanks in advance!
Edit: Seh grade ich glaube wir können auch DEUTSCH schreiben
-
Hey guys,
is it possible to set a key from my keyboard to toggle my Ambilight on and off using Hyperion?
I saw some posts (How to: turn Hyperion on/off using your TV remote. | nadnerb.co.uk) which are pretty old where they said it would work, but Libreelec wasn't mentioned.
I'm pretty much a noob in these things. Has somebody done this before?
Thanks in advance,
KnoRke
-
Hi everyone,
first of I'm a beginner. I have a RPi3 with Libreelec and tried to install Spotify Connect Web and Librespot.
Spotify Connect Web always tells me my Username and password is wrong and at Librespot I just can't find a way to click the "RUN" button as it is grey
What am I doing wrong?
Note: I do not have the appkey file as I just requested it some minutes ago...
Thanks in advance!
KnoRke