Bugzilla – Bug 15186
Scanner doesn't stop when server is stopped
Last modified: 2011-10-27 08:25:14 UTC
When I started the server (using "P:\Programming\Perl 5.10\bin\perl.exe" -w "P:\Music\SlimServer\Beta\server\slimserver.pl" --prefsdir "D:\Squeezebox Server\Beta\Prefs" --logdir "D:\Squeezebox Server\Beta\Logs"), it automatically started a scanner process. When I stopped the server (by using Ctrl-C in the console window), the scanner process continued to run. It should stop when the server is stopped. 7.5 embedded branch, SVN 29453.
Michael notes Andy has been doing work in this area
While this needs to be fixed, it's not a blocker for 7.5 as it's not an issue on TinySC (scan is run in-process)
Moving P3 and lower bugs to next release target
Still a problem?
I will retry this when bug 17173 is fixed.
Phil can you retest?
Tried this again with LMS 7.7. External scanner is still a problem. After first run with LMS 7.7, an automatic rescan was started, which I didn't want because I wanted to change the prefs to point at several music source folders, rather than point at a folder that had shortcuts to the source folders. I tried to abandon the scan, which initially indicated that it had stopped, but upon refreshing showed the scan was still running. I terminated the LMS server process, and the scanner was still running. I had to manually kill the scanning process too.