2012-03-19, 21:27
maybe some you more experienced addon-developers can help me with this problem:
i'm calling the following function from within a xbmc-script-addon:
xbmc.executebuiltin('XBMC.WakeOnLan("000")')
this produces the following error in the XBMC.log:
CNetwork::WakeOnLan - Invalid hardware address specified (000)
is there a way to catch that exception (and others that might occur using this WakeOnLan-executebuiltin-call) to change the behaviour of my script depending on the success or failure of the executebuiltin-call?
i'm calling the following function from within a xbmc-script-addon:
xbmc.executebuiltin('XBMC.WakeOnLan("000")')
this produces the following error in the XBMC.log:
CNetwork::WakeOnLan - Invalid hardware address specified (000)
is there a way to catch that exception (and others that might occur using this WakeOnLan-executebuiltin-call) to change the behaviour of my script depending on the success or failure of the executebuiltin-call?