2012-06-03, 11:08
(2012-06-02, 20:59)salora Wrote: you are asking that margro's plug-in send a sort of ping command to see if the server is online, if not to wake it up and wait
if yes to launch the pvr add-on.
it's a lot of complication and source of bug for margro imho.
I used wolcmd when my server was with Windows XP, now i'm using a plug in for WHS2011 to do that and it works perfectly.
I power my client computer, it wakes the server, wait 5sec to launch xbmc and everything plays nice.
You're asking margro to spend hours to find a way to do what you're asking, when there is a solution that will cost you 5 min !!!!!
Well it may not be feasible, I wasn't suggesting he implement wol, that is already usable in XBMC. I just suggesting something that only enables the plugin when the backend is online, like this:
while(ping.response==false){ //no reply
wait 30secs
ping.response = ping() //some method to test if backend is online
}
enable.addon()