mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 15:52:42 +00:00
Fixed: OnImportFailure using OnDownloadFailure enabled notifications
This commit is contained in:
parent
c229d73ddc
commit
772bd88efa
1 changed files with 1 additions and 2 deletions
|
@ -227,7 +227,6 @@ public void Handle(DownloadFailedEvent message)
|
||||||
Language = message.Language,
|
Language = message.Language,
|
||||||
SourceTitle = message.SourceTitle,
|
SourceTitle = message.SourceTitle,
|
||||||
Message = message.Message
|
Message = message.Message
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())
|
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())
|
||||||
|
@ -247,7 +246,7 @@ public void Handle(AlbumImportIncompleteEvent message)
|
||||||
Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.DownloadItem.Title),
|
Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.DownloadItem.Title),
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())
|
foreach (var notification in _notificationFactory.OnImportFailureEnabled())
|
||||||
{
|
{
|
||||||
if (ShouldHandleArtist(notification.Definition, message.TrackedDownload.RemoteAlbum.Artist))
|
if (ShouldHandleArtist(notification.Definition, message.TrackedDownload.RemoteAlbum.Artist))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue