Switching Hyperion on/off via keyboard/remote?!
-
KnoRke84 -
September 13, 2017 at 2:32 PM -
Thread is Unresolved
-
-
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
-
-
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:~ #
-
-
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
-
-
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...
-
-
-
Very good to hear that.
-