Bug 5552 - Music scanning should wait until wizard is completed
: Music scanning should wait until wizard is completed
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: iTunes
: 7.0
: Macintosh Other
: P2 normal (vote)
: ---
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-24 11:53 UTC by Andy Grundman
Modified: 2009-09-08 09:14 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Grundman 2007-09-24 11:53:57 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.
Comment 1 KDF 2007-09-24 12:33:28 UTC
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.
Comment 2 Spies Steven 2007-09-27 16:15:39 UTC
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.
Comment 3 Andy Grundman 2007-09-27 16:20:04 UTC
It's probably for any music source, I'll change the summary.
Comment 4 Michael Herger 2007-09-27 22:52:32 UTC
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?
Comment 5 Spies Steven 2007-09-28 09:34:43 UTC
Is it possible for user to bypass the wizard?  That would be my only concern for the fix proposal.
Comment 6 Michael Herger 2007-09-28 10:15:03 UTC
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. 
Comment 7 Michael Herger 2007-10-08 03:31:43 UTC
Where's the standard can initialized? I'd like to add that check for wizardDone to it.
Comment 8 Michael Herger 2007-11-10 03:36:27 UTC
*** Bug 6117 has been marked as a duplicate of this bug. ***
Comment 9 Michael Herger 2007-11-13 06:40:53 UTC
Change 14663 - don't scan before the wizard has been run.
Comment 10 Chris Owens 2008-03-07 09:04:56 UTC
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.