PDA

View Full Version : reboot script in python


reimera
2008-11-16, 01:07
have anybody here a python script, which can reboot the xbox?

rwparris2
2008-11-16, 06:09
its possible, and very easy, but why not just use the skin's power settings?

Temhil
2008-11-16, 07:28
Here how you can do that, it is very simple, it works on Xbox, not sure on the other platforms:

import xbmc

# Restart XBMC
xbmc.restart()

If you want more info, have a lot to the official documentation (function of xbmc) here:
http://xbmc.sourceforge.net/python-docs/xbmc.html

reimera
2008-11-16, 18:52
thank you for help