mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Set episode file modified date to local or utc air date
This commit is contained in:
parent
8478379ff4
commit
a02108922f
26 changed files with 175 additions and 202 deletions
|
@ -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_"); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue