Automatic WakeOnLan upon accessing MySql or FileShares
|Reported by:||t4_ravenbird||Owned by:|
|Priority:||4 - Normal||Milestone:|
|Component:||Other (un-categorized if does not fit anywhere else)||Version:||GIT|
|Severity:||Normal||Keywords:||wol wake mysql share|
Several issues are in the forum about WakeOnLan capabilities of XBMC, here is a few examples ;
http://forum.xbmc.org/showthread.php?t=114705&highlight=mysql+wake http://forum.xbmc.org/showthread.php?t=92525&highlight=mysql+wake http://forum.xbmc.org/showthread.php?t=122826&highlight=mysql+wol
I have been struggling myself and searching for a way.. My setup is a server that must be woken and it holds the MySql DB + file shares.
Doing it by an AddOn will not work since AddOns need XBMC to start first to run them. And XBMC will freeze in startup if no connection to MySql can be made.
Also, using platform-specific ways of sending WakeOnLan before launching XBMC is not appealing.
So, what I have done in the attached patch is to implement it in XBMC itself so that WakeOnLan is automatically performed before Database connect or File-access to remote systems.
Hope it can be added as a new feature -A change would be required for Wiki on "advancedsettings.xml" (see readme.txt)