From 79d8a9d44bb8698457c9f919edcf0f05220675dd Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 25 Apr 2020 14:12:38 -0700 Subject: [PATCH] Fixed: Episodes removed from queue re-appearing on refresh Fixes #3697 --- src/NzbDrone.Core/Download/History/DownloadHistoryService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs b/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs index 6d7b6218f..519631ea0 100644 --- a/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs +++ b/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs @@ -62,6 +62,11 @@ namespace NzbDrone.Core.Download.History // Events are ordered by date descending. We'll return the most recent expected event. foreach (var e in events) { + if (e.EventType == DownloadHistoryEventType.DownloadIgnored) + { + return e; + } + if (e.EventType == DownloadHistoryEventType.DownloadGrabbed) { return e;