View Full Version : Xbmc.restart() hangs up?
i'm using xbmc 12-12 at the moment. a call to xbmc.restart() will hang up the ui of xbmc. ftp is still working in this situation, so the xbox itself is not freezed..
anybody has the same problem?
and is there a call to restart xbmc (not xbox) without asking? xbmc.restart() should do the job, but i'm not able to test it because of this bug...
it is not yet implemented
def restart():
"""
restart() -- restart xbox.
incomplete: how do you quit python?
"""
raise keyboardinterrupt
it is not yet implemented
code sample
def restart():
"""
restart() -- restart xbox.
incomplete: how do you quit python?
"""
raise keyboardinterrupt
i don't know where you got that from, but the function restart is implemented.
about the restart problem. when doing a restart all system services are stopped and removed from memory, if something fails here xbmc could crash. i couldn't get the crashing myself so you could try disabling the web / ftp / time server and see what happens.
i will test this, but is there a way to disable this via python then?
sorry got it from xbmc.py may have been an old version :s