From 072ca459bd68ae2e7d8d8f45eb22676dd36e0007 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sat, 9 Apr 2016 20:17:15 +0200 Subject: [PATCH] Fixed: NzbGet DUPE/COPY status should be considered failure. fixes #919 closes #693 closes #505 --- src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs index 15fe53a67..c21a4bb9f 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs @@ -173,7 +173,14 @@ namespace NzbDrone.Core.Download.Clients.Nzbget if (!successStatus.Contains(item.DeleteStatus) && item.DeleteStatus.IsNotNullOrWhiteSpace()) { - historyItem.Status = DownloadItemStatus.Warning; + if (item.DeleteStatus == "COPY" || item.DeleteStatus == "DUPE") + { + historyItem.Status = DownloadItemStatus.Failed; + } + else + { + historyItem.Status = DownloadItemStatus.Warning; + } } if (item.DeleteStatus == "HEALTH")