Greg, 
In Squeezelite-X  to keep it simple I suggest that once you are
communicating with a server you save the server name and the server mac
address. You keep that mac address until the server is changed in the
prefs.

Then, on start up you attempt to communicate with the last known
server.

If that server does not respond then you send a WOL to that server's mac
address and wait for the server to respond while checking for "esc" to
break out of the wait loop and display the prefs screen. 

When the server responds, SqueezeLite-X continues as if the server was
up when SqueezeLite-X was started.

If the server does not respond after two minutes (or whatever the TCP/IP
timeout is - seems like half an hour) then Squeezelite-X proceeds like
an invalid server name has been entered in the prefs.



A camel is a racehorse designed by a committee.

Seen sprayed on the outside wall of the local library -
Three things I hate in life :
1. Vandalism
2. Irony
3. Lists
------------------------------------------------------------------------
Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225
View this thread: http://forums.slimdevices.com/showthread.php?t=107540

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to