Kodi Community Forum

Full Version: [REQUEST] Help with script to quit xbmc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have boxee installed on my xbmc live box and setup to automatically launch when xbmc is quit, and visa versa. I would be very appreciative if somebody could write a simple script that could just pass the "XBMC.Quit()" command to xbmc. I have tried, using the following, but it did not work. I instead get a "script failed" message.

Code:
import xbmc

executebuiltin('XBMC.QUIT()')

Needless to say, I do not know python. I placed that in a QuitXBMC.py file and tried launching it from the filemanager.

The reason I can't just use the skinning engine instead is that I am trying to avoid having to repeatedly re-edit the skin files every time the skin is updated or that I switch skins, and instead can simply use the custom home button feature built into many skins now to select this script to be launched, and that survives skin updates. If anybody would be so kind as to help me out, I would be very grateful!