From 342c82aa1f523aa1e99afde0ec1e160e846fe773 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 6 Mar 2025 19:15:59 +0200 Subject: [PATCH] Fixed: Avoid notifications on reprocessing failed items in queue --- src/NzbDrone.Core/Download/CompletedDownloadService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/Download/CompletedDownloadService.cs b/src/NzbDrone.Core/Download/CompletedDownloadService.cs index b5010b8f8..6b80ee34e 100644 --- a/src/NzbDrone.Core/Download/CompletedDownloadService.cs +++ b/src/NzbDrone.Core/Download/CompletedDownloadService.cs @@ -166,8 +166,13 @@ namespace NzbDrone.Core.Download new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.Item.Path), v.Errors))); + // Mark as failed to prevent further attempts at processing + trackedDownload.State = TrackedDownloadState.ImportFailed; + // Publish event to notify album was imported incomplete _eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload)); + + return; } if (statusMessages.Any())