My mind can't seem to get a handle on the WebUI Settings page part of LMS - my code always seemed to be fighting it. So I always suspect any "Settings" code I think of - I avoid it whenever I can and will leave any solution to you..
mherger wrote: > > I put in a $log->error into the message routine to time when the > Message > > was initiated - it is put up when downloading counter is incremented > > (ie. from 0 to 1) which is when download starts > > The whole code is quite convoluted. And the lines you quote are > particularly confusing, as "$needsRestart" seems to be set too early due > > to the "->downloading" call. But it seems to be working as expected in > my case. Convoluted but after thinking about other solutions it is just working within LMS restrictions. I won't do any more active testing but will follow and not personal experience . > BTW: the mechanism here would be that the settings page would not load > before all is downloaded and ready. It's not the page polling for > changes. That's why you wouldn't see any change in the UI before the > download is considered ready. I put in a "$log->error" into the start of the code. It may not be refreshed but it was called for other reasons - not sure why. > > Not sure why we see such different behaviour. > > What OS are you on? I've been testing using macOS. Ubuntu 18.04 on an oldish i5 (4 core) 16Mbyte system - fast internet connection - using "wget" on Raopbridge.exe can get downloads at 20Mbytes/sec I may have lost track of code changes so my results may be suspect. If we can find an alternative to Sourceforge - a lot of these problems would go away. In the meantime, let's see if the changes improve things. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=112241 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
