Bug 2958 - iTunes reload interval should be set to 0 for new scans
: iTunes reload interval should be set to 0 for new scans
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: iTunes
: 6.2.2
: PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-09 06:43 UTC by Nico
Modified: 2008-09-15 14:38 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico 2006-02-09 06:43:35 UTC
I was only able to scan my iTunes library (10k+ songs) by setting the iTunes "reload interval" to 0 (zero).  This only appears necessary for the first scan.  I think the default (3600s) was cause the scan to be aborted in the middle.

Suggested Fix:
1. When user selects "Clear library and rescan everything", set iTunes 
   reload interval to 0.

2. When rescan is complete, set reload interval back to "3600" or previous
   values.
Comment 1 Nico 2006-02-09 07:15:50 UTC
Note, I almost returned my Slim player due to this odd behavior.  I waited an entire weekend for iTunes to update, then just before sending my player back, saw the suggestion to set update interval to '0'!
Comment 2 KDF 2006-02-09 08:52:22 UTC
This is misleading.  The reload interval should have no effect on an initial scan.  The reload interval only applies when the iTunes library is changing, and only applies as an interval since the last *completed* iTunes scan.
Comment 3 KDF 2006-02-09 09:05:30 UTC
If you are able to replicate this initial scan, try turning d_itunes and d_import on and check the log.  Better yet, run c:\program files\slimserver\server\slim.exe  --d_itunes --d_import from a commant prompt and see if there are any dumps to STDOUT that explain why the scan aborted.  Was the iTunes library in flux?  

The design change is certainly possible to implement, just making sure that the reason for doing so is actually going to fix the problem at hand.
Comment 4 Blackketter Dean 2006-03-13 08:28:26 UTC
Please try the latest nightly release (either 6.2.2 or 6.5) and see if the
issue is better.  The rescan logic is much improved.  If you are still having problems, please reopen the bug
with details on your setup (library size and location, main server settings
page, itunes settings page).