mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-28 23:07:13 -04:00
Fixed: Detecting NzbGet free-space errors during unpack and move errors as warnings.
Fixed: NzbGet Script errors are again considered failures so that corruption-detection scripts trigger drone to grab another release.
This commit is contained in:
@@ -158,17 +158,29 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!successStatus.Contains(item.ParStatus) ||
|
||||
!successStatus.Contains(item.UnpackStatus) ||
|
||||
!successStatus.Contains(item.MoveStatus))
|
||||
if (!successStatus.Contains(item.ParStatus))
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Failed;
|
||||
}
|
||||
|
||||
if (!successStatus.Contains(item.ScriptStatus))
|
||||
if (item.UnpackStatus == "SPACE")
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Warning;
|
||||
}
|
||||
else if (!successStatus.Contains(item.UnpackStatus))
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Failed;
|
||||
}
|
||||
|
||||
if (!successStatus.Contains(item.MoveStatus))
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Warning;
|
||||
}
|
||||
|
||||
if (!successStatus.Contains(item.ScriptStatus))
|
||||
{
|
||||
historyItem.Status = DownloadItemStatus.Failed;
|
||||
}
|
||||
|
||||
if (!successStatus.Contains(item.DeleteStatus))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user