cfuttrup wrote: > Today SLX upgraded to 2.4.25. > > I observed, which isn't exclusively .25 ... also previous versions, that > my computer started with network (WiFi) off. Then SLX is autoloaded and > doesn't connect. When I connect to my WiFi, then SLX doesn't discover > that the connection is now established. Conclusion: Once SLX is started, > it doesn't come back and check. > > Another observation, my twiddle fingers somehow managed to load SLX > twice (I truly wonder how). Then two instances of SLX was started, and > the system could not be closed down. I had to load task manager and End > Task. > > Update - about SLX not connecting. I forgot that I turned off the > DiskStation last night (after 21 days of uptime). After starting the > server I still have to restart SLX. > > Cheers, > Claus
SLX is supposed to keep trying (if Wake Server is enabled) but I accidentally broke that a few versions ago. .27 will fix that. SLX has code that only allows a single instance. On first run, it creates an OS Mutex. That will fail if the Mutex is already created by a previous instance. I have no idea how you got it to run twice. I can't do it. But I looked at the code. My code calls CreateMutex and checks for ERROR_ALREADY_EXISTS. In reading the Windows API, another possibility is ERROR_ACCESS_DENIED. SLX doesn't check for that possibility. If it returned ERROR_ACCESS_DENIED (which I didn't think was actually possible in this case), SLX would run twice, so I'll add check for that also. SLX will give up trying if it cannot find the server after about 5 minutes or so. So, yes, in that scenario, you can restart, or go into settings and press Apply. Thank you for letting me know, my ability to test across all these scenarios is limited, so I much appreciate it. R Greg Dawson Squeezelite-X ------------------------------------------------------------------------ rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=108550 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
