Fixed: NzbGet DUPE/COPY status should be considered failure.
fixes #919 closes #693 closes #505
This commit is contained in:
parent
0865306064
commit
072ca459bd
|
@ -172,9 +172,16 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
|
|||
}
|
||||
|
||||
if (!successStatus.Contains(item.DeleteStatus) && item.DeleteStatus.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
if (item.DeleteStatus == "COPY" || item.DeleteStatus == "DUPE")
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Failed;
|
||||
}
|
||||
else
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Warning;
|
||||
}
|
||||
}
|
||||
|
||||
if (item.DeleteStatus == "HEALTH")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue