xboxscene.org forums

OG Xbox Forums => XboxMediaCenter => Software Forums => XBMC Python Scripting Forum => Topic started by: Laugh Out Loud on July 16, 2005, 08:27:00 PM

Title: Autoexec.py
Post by: Laugh Out Loud on July 16, 2005, 08:27:00 PM
Is it possible to laod more than 1 script during startup?

Im trying to run the startup video script, as well as load a random song on startup. However, the result is a crash. If its not possible, then is there another way around this problem?
Title: Autoexec.py
Post by: nuka1195 on July 17, 2005, 06:03:00 AM
You could try putting a sleep(t) between them.

#put this at the top of the file
from time import sleep

#put this between the two script calls
sleep(1)

maybe increase or decrease til it works good. This is untested, so it may not work.