2011-07-25, 21:37
QuinRiva Wrote:So adding this to the start of my autoexec.py causes XBMC to freeze indefinitely. The log files don't show anything obvious.
Code:#execute targeted script at startup.
import xbmc
xbmc.executescript('special://home/addons/script.pseudotv/default.py')
Here is what I use in my autoexec.py:
import time;time.sleep(5);xbmc.executebuiltin("XBMC.RunScript(special://home/addons/script.pseudotv/default.py,-startup)")
That is exactly as copied and I have no problems whatsoever.
The import time;time.sleep(5) tells XBMC to wait 5 seconds before executing said script.
There should not be a space in the "Runscript" wording. I don't know why it looks like that.
Mark