Retention check added to DecisionEngine.

Retention is configurable from Settings/Indexers.
This commit is contained in:
Mark McDowall 2012-02-17 01:32:33 -08:00 committed by kay.one
commit 462eb53897
8 changed files with 75 additions and 4 deletions

View file

@ -413,6 +413,12 @@ namespace NzbDrone.Core.Providers.Core
set { SetValue("AutoIgnorePreviouslyDownloadedEpisodes", value); }
}
public virtual int Retention
{
get { return GetValueInt("Retention", 0); }
set { SetValue("Retention", value); }
}
public Guid UGuid
{
get { return Guid.Parse(GetValue("UGuid", Guid.NewGuid().ToString(), persist: true)); }