Bugzilla – Bug 5552
Music scanning should wait until wizard is completed
Last modified: 2009-09-08 09:14:11 UTC
Currently when you startup a new copy of SlimServer, the iTunes plugin immediately begins scanning the entire iTunes library. I think it should probably wait and see if the user chooses to use iTunes in the wizard of not. Scanning should not begin until after the wizard is completed.
Most likely this is due to the old setup design that had iTunes turned on by default if a library is found. In initPlugin: Slim::Music::Import->addImporter($class, { 'use' => 1 }); removing that line should hold off until the setup wiz collects all info and starts a scan.
Is this only for iTunes? A new install seems to scan the Music folder as well before the user chooses the music source. Separate bug perhaps? I noticed this investigating Bug 1361.
It's probably for any music source, I'll change the summary.
The wizard is setting a flag in the preferences file (wizarddone or something). We could probably hold off of any scanning until that one's set?
Is it possible for user to bypass the wizard? That would be my only concern for the fix proposal.
No. The only way is adding that value manually to the prefs file. Now that I think of it: there are other ways, if you really want. Only index.html & home.html are looking for that value. If you load whatever other page you can access the web interface. But that doesn't make much sense.
Where's the standard can initialized? I'd like to add that check for wizardDone to it.
*** Bug 6117 has been marked as a duplicate of this bug. ***
Change 14663 - don't scan before the wizard has been run.
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.