I am having some problems changing file dates of files on a CIFS share. I believe that is what is causing the problems as drone doesn’t seem to have problems changing file dates of local files. The error is:
UpdateEpisodeFileService failed while processing [SeriesScannedEvent]: Not a valid Win32 FileTime.
Parameter name: fileTime
System.ArgumentOutOfRangeException: Not a valid Win32 FileTime.
Parameter name: fileTime
at System.DateTime.FromFileTimeUtc(Int64 fileTime)
at System.IO.FileSystemInfo.get_LastWriteTimeUtc()
at NzbDrone.Common.Disk.DiskProviderBase.FileGetLastWriteUtc(String path) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 70
at NzbDrone.Core.MediaFiles.UpdateEpisodeFileService.ChangeFileDateToLocalAirDate(String filePath, String fileDate, String fileTime) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\MediaFiles\UpdateEpisodeFileService.cs:line 123
at NzbDrone.Core.MediaFiles.UpdateEpisodeFileService.ChangeFileDate(EpisodeFile episodeFile, Series series, List`1 episodes) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\MediaFiles\UpdateEpisodeFileService.cs:line 61
at NzbDrone.Core.MediaFiles.UpdateEpisodeFileService.Handle(SeriesScannedEvent message) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\MediaFiles\UpdateEpisodeFileService.cs:line 99
at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 56
I am using freeNAS to share my files with CIFS. Any way to fix this?