mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
BacklogSetting refactoring.
This commit is contained in:
parent
3a5d99921e
commit
02cb12bdb8
15 changed files with 75 additions and 76 deletions
|
@ -54,7 +54,7 @@ namespace NzbDrone.Core.Jobs
|
|||
Logger.Trace("Backlog searching is not enabled, only running for explicitly enabled series.");
|
||||
return _episodeProvider.EpisodesWithoutFiles(true).Where(e =>
|
||||
e.AirDate >= DateTime.Today.AddDays(-30) &&
|
||||
e.Series.BacklogStatus == BacklogStatusType.Enable &&
|
||||
e.Series.BacklogSetting == BacklogSettingType.Enable &&
|
||||
e.Series.Monitored
|
||||
).ToList();
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ namespace NzbDrone.Core.Jobs
|
|||
Logger.Trace("Backlog searching is enabled, skipping explicity disabled series.");
|
||||
return _episodeProvider.EpisodesWithoutFiles(true).Where(e =>
|
||||
e.AirDate >= DateTime.Today.AddDays(-30) &&
|
||||
e.Series.BacklogStatus != BacklogStatusType.Disable &&
|
||||
e.Series.BacklogSetting != BacklogSettingType.Disable &&
|
||||
e.Series.Monitored
|
||||
).ToList();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue