mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 07:37:10 -07:00
Blacklisting improvements
New: New releases that fail will be retried a second time after waiting 1hr (configurable) Fixed: Blacklisting releases with the same date and vastly different ages
This commit is contained in:
parent
492ffb5714
commit
e21574a203
44 changed files with 567 additions and 81 deletions
|
@ -16,6 +16,15 @@ namespace NzbDrone.Api.Config
|
|||
.SetValidator(rootFolderValidator)
|
||||
.SetValidator(pathExistsValidator)
|
||||
.When(c => !String.IsNullOrWhiteSpace(c.DownloadedEpisodesFolder));
|
||||
|
||||
SharedValidator.RuleFor(c => c.BlacklistGracePeriod)
|
||||
.InclusiveBetween(1, 24);
|
||||
|
||||
SharedValidator.RuleFor(c => c.BlacklistRetryInterval)
|
||||
.InclusiveBetween(5, 120);
|
||||
|
||||
SharedValidator.RuleFor(c => c.BlacklistRetryLimit)
|
||||
.InclusiveBetween(0, 10);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue