2011-02-01, 12:44
When you're trying to work out what's going wrong the first step is always to enable debug logging then look at xbmc.log to see if there are any clues. In this case you will see something like:
DEBUG: XBPython:rocess - no profile autoexec.py (C:\Users\renniej\AppData\Roaming\XBMC\userdata\autoexec.py) found, skipping
which means that I gave you the wrong filename (oops, sorry) it should be autoexec.py.
Also you're doing things the hard way. The autoexec.py just needs to contain:
I've put in the MAC address of the PC I tested the script on. Obviously replace this with your own MAC address.
JR
DEBUG: XBPython:rocess - no profile autoexec.py (C:\Users\renniej\AppData\Roaming\XBMC\userdata\autoexec.py) found, skipping
which means that I gave you the wrong filename (oops, sorry) it should be autoexec.py.
Also you're doing things the hard way. The autoexec.py just needs to contain:
Code:
import xbmc
xbmc.executebuiltin("WakeOnLan(00-13-72-26-4d-cf)")
I've put in the MAC address of the PC I tested the script on. Obviously replace this with your own MAC address.
JR