autoexec.py not working?
#1
Hello,

I have added a simple autoexec.py file to my user XBMC/ directory (it's the same directory where the xbmc.log gets generated). So far it only contains the following content:

Code:
# See also http://wiki.xbmc.org/index.php?title=Autoexec.py
# Put this into the userdata folder, see http://wiki.xbmc.org/index.php?title=Userdata
import xbmc

# I like to have a very low idle shutdown so that xbmc shuts down right after the movie ends if I dont touch it
# However, I'd rather enable it explicitly from the menu than have random shutdowns when I forget about it, so inhibit on startup
xbmc.executebuiltin('XBMC.InhibitIdleShutdown(true)');

After starting xbmc, I check the "Inhibit Idle Shutdown" entry in the confluence menu and it indicates that the shutdown is not inhibitted. The xbmc.log also makes no mention of any autoexec.py being found and loaded.

Was the autoexec.py feature removed by chance? Is there any way that I can verify whether my script is being loaded? I tried adding a "print" line to no avail

Oops.. I put the autoexec in the wrong place.. it should be XBMC/userdata.

I would delete the thread if I could but it looks like it's disabled (it says I have no permissions).
Reply

Logout Mark Read Team Forum Stats Members Help
autoexec.py not working?0