Bugzilla – Bug 18078
All files seen as changed after Daylight Saving time change (Windows only)
Last modified: 2016-03-15 10:19:34 UTC
Due to how Windows handles Daylight Savings time changes on NTFS volumes, a new & changed scan following a DST time change will see all files as having different modified timestamps. This results in an unusually slow new & changed scan twice a year for most users running LMS on Windows.
Do you happen to remember how to fake a DST change? I'm trying to get it to re-scan my library by changing timezones, disabling automatic DST changes etc, but to no avail.
I don't recall faking it for testing. I probably tested by using a backup of the library database containing timestamps from prior to the time change.
I just tested it and a timezone change on my system _does_ cause a new & changed scan to rescan all files in the library. Not sure why it wouldn't work for you. This is using local files on an NTFS volume. Also, modifying the timestamps in the database by one hour via SQL should be equivalent to having a pre-time-change database. The following should effectively set all timestamps to what they were before the recent change. update tracks set timestamp = timestamp - 3600;
> update tracks > set timestamp = timestamp - 3600; Oh, that was too obvious for me to figure out :-). Thanks!
I think I finally fixed this. With a little luck we'll know in about two weeks, when Europe has switched to DST, too. If that test is positive, I'm going to back-port this change.
Yep. I think it's fixed in 7.9. I would think it's safe to back-port to 7.8
Thanks! Back-ported to 7.7.6 & 7.8.1.