mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Set write time on destination season folder - oops
This commit is contained in:
parent
88afc19716
commit
1e0c053bd3
@ -78,7 +78,7 @@ private void MoveFile(EpisodeFile episodeFile, Series series, string destination
|
||||
|
||||
if (series.SeasonFolder)
|
||||
{
|
||||
var seasonFolder = Path.GetDirectoryName(episodeFile.Path);
|
||||
var seasonFolder = Path.GetDirectoryName(destinationFilename);
|
||||
|
||||
_logger.Trace("Setting last write time on season folder: {0}", seasonFolder);
|
||||
_diskProvider.SetFolderWriteTime(seasonFolder, episodeFile.DateAdded);
|
||||
|
Loading…
Reference in New Issue
Block a user