Wirrunna wrote: 
> 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.

I like this approach.  So what this means is that for a new server (or
changing to a different one), I would not attempt WOL.  Then once I do
connect get the MAC address from it, and do WOL whenever I reconnect if
needed.  Question: Can the server go to sleep while Squeezelite-X is
connected?  Do I need to send anything to server to keep it awake?

R Greg Dawson


------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
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