Bug 613 - Change in root folder of a windows drive isn't detected
: Change in root folder of a windows drive isn't detected
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 5.x or older
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-06 11:27 UTC by Roland Fischer
Modified: 2008-12-18 11:52 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 Roland Fischer 2004-10-06 11:27:05 UTC
A small bug that is sometimes really annoying, but now I know it's easy to fix:

Perl stat() is unable to return a correct modify date for the root folder of a 
drive(e.g. stat('c:/') ), instead it returns always 315529200 (1.1.1980) - so 
the fix is to add " && ((stat(Slim::Utils::Misc::pathFromFileURL
($playlistpath)))[9]) != 315529200 " to the if clause in line 389 of scan.pm. 
(SlimServer nightly 2004-10-05)
So every folder with a change date of 1.1.1980 is taken as unknown and 
rescanned as if there is a known change.
Comment 1 Blackketter Dean 2004-10-14 16:07:01 UTC
will patch.
Comment 2 KDF 2004-10-19 23:31:07 UTC
seems liek this was committed oct 18
Comment 3 Chris Owens 2006-06-16 14:40:38 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Comment 4 Chris Owens 2008-12-18 11:52:02 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.