Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

Reboot via Remote (keymap)

$
0
0
I occasionally have issues where after using Apple's Netflix app and then starting XBMC that XBMC is sluggish in all aspects of the GUI and video playback is near impossible. This is resolved by rebooting the ATV box. This is accomplished by holding down the enter and menu buttons on the original ATV remote BUT I typically use a Logitech Harmony remote and it doesn't like the holding down of two buttons at once.

I notice that the ATV shutdown function only allows quit unlike the Linux/Windows/OSX versions which allow Shutdown/Reboot as well so I assume that it's not supported by the underlying OS.

I'm trying to modify the keymap in order to reprogram a key (in this case the original id="8" (hold menu button)) to run a python script to call the reboot command. The contents of the script are simply:
Code:
import os
os.system("/sbin/reboot")

While I see in the xbmc logs that the python script is being called, the box is not being rebooted. Can anyone shed some light on why this isn't working or offer some suggestion on another way to reboot it from the remote easily?

This has always been an issue and I don't think it's with XBMC but with the Netflix app releasing memory and/or cpu properly. It's not all the time but often enough that it gets annoying.

Thanks!

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>