2011-04-12, 00:52
I've been struggling to get the WOL script to wake my server when xbmc live resumes from standby (the script works fine when I run it from xbmc).
I've tried adding an autoexec.py file to /home/myusername/.xbmc/userdata
Have tried the following for my autoexec.py files:
iexecfile(/home/myusername/.xbmc/addons/script.wol/default.py)
iexecfile(/home/myusername/.xbmc/addons/script.wol)
iexecfile(/home/myusername/.xbmc/addons/script.wol/wol.py)
also tried execfile instead of iexecfile
but I keep getting a script error when I reboot (log showed invalid syntax) - no error on resuming from suspend so I guess it's not trying to run the script at all?
I'm pretty obviously a complete newbie so please keep any replies simple! thanks
I've tried adding an autoexec.py file to /home/myusername/.xbmc/userdata
Have tried the following for my autoexec.py files:
iexecfile(/home/myusername/.xbmc/addons/script.wol/default.py)
iexecfile(/home/myusername/.xbmc/addons/script.wol)
iexecfile(/home/myusername/.xbmc/addons/script.wol/wol.py)
also tried execfile instead of iexecfile
but I keep getting a script error when I reboot (log showed invalid syntax) - no error on resuming from suspend so I guess it's not trying to run the script at all?
I'm pretty obviously a complete newbie so please keep any replies simple! thanks