Kodi Community Forum

Full Version: [LIVE] how to autoexec python scripts on startup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have searched the forums for a solution but have not found any that worked for me yet.

As I understand I should have a autoexec.py file, which I should put in some directory(Which directory varies from post to post).

What to write in the autoexec.py file is also a mystery.

I think this is kinda basic, and I'm sure a lot should know the answer.
simplest is to create an autoexec.py in ~/.xbmc/scripts/myscripts/autoexec.py (not sure if the myscripts should be there.

in autoexec.py you add one line for every script you want to execute.
Code:
[color=Green][/color]execfile("path/to/script.py")
Super! Thank you - now I got my WOL for the server up and going - Just the information I needed thank you!
You're welcome. Smile