mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Set episode file modified date to local or utc air date
This commit is contained in:
@@ -4,9 +4,7 @@ using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.EnsureThat;
|
||||
using NzbDrone.Core.Configuration.Events;
|
||||
using NzbDrone.Core.Download;
|
||||
using NzbDrone.Core.Download.Clients.Nzbget;
|
||||
using NzbDrone.Core.Download.Clients.Sabnzbd;
|
||||
using NzbDrone.Core.MediaFiles;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
|
||||
|
||||
@@ -86,12 +84,6 @@ namespace NzbDrone.Core.Configuration
|
||||
set { SetValue("AutoUnmonitorPreviouslyDownloadedEpisodes", value); }
|
||||
}
|
||||
|
||||
public bool FileDateAiredDate
|
||||
{
|
||||
get { return GetValueBoolean("FileDateAiredDate"); }
|
||||
set { SetValue("FileDateAiredDate", value); }
|
||||
}
|
||||
|
||||
public int Retention
|
||||
{
|
||||
get { return GetValueInt("Retention", 0); }
|
||||
@@ -147,12 +139,18 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
public Boolean CreateEmptySeriesFolders
|
||||
{
|
||||
//TODO: only create if the parent folder exists (check first)
|
||||
get { return GetValueBoolean("CreateEmptySeriesFolders", false); }
|
||||
|
||||
set { SetValue("CreateEmptySeriesFolders", value); }
|
||||
}
|
||||
|
||||
public FileDateType FileDate
|
||||
{
|
||||
get { return GetValueEnum("FileDate", FileDateType.None); }
|
||||
|
||||
set { SetValue("FileDate", value); }
|
||||
}
|
||||
|
||||
public String DownloadClientWorkingFolders
|
||||
{
|
||||
get { return GetValue("DownloadClientWorkingFolders", "_UNPACK_|_FAILED_"); }
|
||||
|
Reference in New Issue
Block a user