mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Retention check added to DecisionEngine.
Retention is configurable from Settings/Indexers.
This commit is contained in:
parent
8c0efac00b
commit
462eb53897
8 changed files with 75 additions and 4 deletions
|
@ -76,6 +76,12 @@ namespace NzbDrone.Web.Models
|
|||
[Description("Enable downloading episodes from Newznab Providers")]
|
||||
public bool NewznabEnabled { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Please enter a valid number of days")]
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Retention")]
|
||||
[Description("Usenet provider retention in days (0 = unlimited)")]
|
||||
public int Retention { get; set; }
|
||||
|
||||
public List<NewznabDefinition> NewznabDefinitions { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue