Bug 4275 - Scanner skips files marked as hidden in Windows
: Scanner skips files marked as hidden in Windows
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 6.5.0
: PC Windows XP
: P1 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-01 18:19 UTC by Jonathan Potter
Modified: 2008-12-18 11:11 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Potter 2006-10-01 18:19:34 UTC
After the recent upgrade to 6.5 my library which once contained over 7000 albums now shows as having 75. I have tried numerous "clear & rescan all" operations and never get more than 75.

I set the sql/mysql/scan/import debug flags as suggest in a forum thread. When the scan starts I get a number of "Can't call method "print" on an undefined value at..." errors which I can post here if required, although I don't think these are significant as they only occur at the very beginning and the scan does then get going.

However after a few minutes it seems to abort, leaving me with only the aforementioned 75 albums in the library. The log shows only the following:

SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
SELECT me.name, me.value FROM metainformation me WHERE ( name = ? ): 'isScanning'
Import: Wiped all in-memory caches.


As an addendum, I tried the latest nightly build on 6.5.1 with similar results - except it gets to 90 albums now before aborting.
Comment 1 Jonathan Potter 2006-10-02 05:44:16 UTC
I tracked down what was causing scanner to seemingly abort early. For some reason (unrelated) most of my music files were marked as 'hidden' (the 'h' attribute was set). This has always been the case and previous versions of SlimServer had no problem with them, but it seems as if the new separate scanner program skips over hidden files.

Whether you want to treat this as a bug or not is up to you - although I think at least it should warn you (even if just in the log) why files are being skipped.
Comment 2 Dan Sully 2006-10-02 06:59:56 UTC
This is a feature. Files marked as hidden are skipped.
Comment 3 Jonathan Potter 2006-10-02 13:40:39 UTC
Fair enough - maybe it should be documented then, as this was a change from the previous behaviour.