mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: Avoid notifications on reprocessing failed items in queue
This commit is contained in:
parent
5a3f879442
commit
342c82aa1f
1 changed files with 5 additions and 0 deletions
|
@ -166,8 +166,13 @@ namespace NzbDrone.Core.Download
|
||||||
new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.Item.Path),
|
new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.Item.Path),
|
||||||
v.Errors)));
|
v.Errors)));
|
||||||
|
|
||||||
|
// Mark as failed to prevent further attempts at processing
|
||||||
|
trackedDownload.State = TrackedDownloadState.ImportFailed;
|
||||||
|
|
||||||
// Publish event to notify album was imported incomplete
|
// Publish event to notify album was imported incomplete
|
||||||
_eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload));
|
_eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload));
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statusMessages.Any())
|
if (statusMessages.Any())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue