mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed an issue with propers being skipped for old and lower quality episodes
This commit is contained in:
parent
be2741dfdf
commit
3965518023
2 changed files with 50 additions and 31 deletions
|
@ -36,7 +36,10 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|||
return false;
|
||||
}
|
||||
|
||||
if (subject.ParsedEpisodeInfo.Quality.Proper && file.DateAdded < DateTime.Today.AddDays(-7))
|
||||
if (searchCriteria == null &&
|
||||
subject.ParsedEpisodeInfo.Quality.Quality == file.Quality.Quality &&
|
||||
subject.ParsedEpisodeInfo.Quality.Proper &&
|
||||
file.DateAdded < DateTime.Today.AddDays(-7))
|
||||
{
|
||||
_logger.Trace("Proper for old file, skipping: {0}", subject);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue