bobertuk wrote: 
> Hi Greg,
> 
> Installed v0.9.39.0 today and there seems to be an issue -  probably
> minor. My Win 10 PC (acting as a server for LMS) reboots on a daily
> schedule at 5am and Squeezelite-X displays an error on restart. Can't
> remember the exact wording but something like "Can't connect to server".
> The server is actually running and LMS plasy music through Squeezelite-X
> - looking at settings everything seems as it should be. The tray icon
> doesn't turn blue though and all this behaviour was the same with
> v0.9.38.0. 
> 
> Bob

Is Squeezelite-X and LMS running on the same PC, then?  I've have been
reworking the code that communicates with the server in order to make it
more robust and react in a more competent way when the server reboots,
when LMS is restarted, when the client wakes up and the server is no
longer there, etc.  Exactly the kinds of things you have going on.  What
it should be doing is quietly handling the problem by waiting and
retrying in the background until it is able to connect.  After some
period of time (between 20-30 seconds) it will show the message you saw,
and stop trying.  In that case, you'll need to go into settings and
click "apply", which resets everything and tries again.  What I need to
do for you is allow more time for LMS to startup.  20-30 seconds is not
enough time.  I just put up 0.41 with an increased "retry period"
timeout for now.  I still need to refine what to do after the timeout,
probably provide an option to keep trying.

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