mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-21 22:05:38 -04:00
Track fully imported downloads in separate history table
New: Improved detection of already imported downloads Closes #3554
This commit is contained in:
committed by
Mark McDowall
parent
576275b6da
commit
770b89c2b3
@@ -49,7 +49,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.RssSync
|
||||
_logger.Debug("Checking current status of episode [{0}] in history", episode.Id);
|
||||
var mostRecent = _historyService.MostRecentForEpisode(episode.Id);
|
||||
|
||||
if (mostRecent != null && mostRecent.EventType == HistoryEventType.Grabbed)
|
||||
if (mostRecent != null && mostRecent.EventType == EpisodeHistoryEventType.Grabbed)
|
||||
{
|
||||
var recent = mostRecent.Date.After(DateTime.UtcNow.AddHours(-12));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user