Option to ignore items when removing from queue instead of removing from client

This commit is contained in:
Mark McDowall
2019-10-24 21:42:41 +01:00
committed by ta264
parent 94ac75c6b7
commit d459a36591
21 changed files with 277 additions and 65 deletions
@@ -131,8 +131,10 @@ namespace NzbDrone.Core.Download.TrackedDownloads
private bool DownloadIsTrackable(TrackedDownload trackedDownload)
{
// If the download has already been imported or failed don't track it
if (trackedDownload.State == TrackedDownloadState.Imported || trackedDownload.State == TrackedDownloadState.DownloadFailed)
// If the download has already been imported or failed or the user ignored it don't track it
if (trackedDownload.State == TrackedDownloadState.Imported ||
trackedDownload.State == TrackedDownloadState.DownloadFailed ||
trackedDownload.State == TrackedDownloadState.Ignored)
{
return false;
}