mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 21:13:58 +02:00
Fixed: NzbGet DUPE/COPY status should be considered failure.
fixes #919 closes #693 closes #505
This commit is contained in:
parent
0865306064
commit
072ca459bd
1 changed files with 8 additions and 1 deletions
|
|
@ -173,7 +173,14 @@ private IEnumerable<DownloadClientItem> GetHistory()
|
||||||
|
|
||||||
if (!successStatus.Contains(item.DeleteStatus) && item.DeleteStatus.IsNotNullOrWhiteSpace())
|
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")
|
if (item.DeleteStatus == "HEALTH")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue