Cleanup Conflicts in Sonarr/Lidarr Pulls

Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
This commit is contained in:
Qstick
2021-01-24 02:22:50 -05:00
parent ffc12656ee
commit 93ba5ade9e
298 changed files with 4460 additions and 4508 deletions
@@ -82,7 +82,7 @@ namespace NzbDrone.Core.Download
}
catch (DownloadClientRejectedReleaseException)
{
_logger.Trace("Release {0} rejected by download client, possible duplicate.", remoteAlbum);
_logger.Trace("Release {0} rejected by download client, possible duplicate.", remoteBook);
throw;
}
catch (ReleaseDownloadException ex)
@@ -100,16 +100,16 @@ namespace NzbDrone.Core.Download
throw;
}
var albumGrabbedEvent = new BookGrabbedEvent(remoteBook);
albumGrabbedEvent.DownloadClient = downloadClient.Name;
var bookGrabbedEvent = new BookGrabbedEvent(remoteBook);
bookGrabbedEvent.DownloadClient = downloadClient.Name;
if (!string.IsNullOrWhiteSpace(downloadClientId))
{
albumGrabbedEvent.DownloadId = downloadClientId;
bookGrabbedEvent.DownloadId = downloadClientId;
}
_logger.ProgressInfo("Report sent to {0}. {1}", downloadClient.Definition.Name, downloadTitle);
_eventAggregator.PublishEvent(albumGrabbedEvent);
_eventAggregator.PublishEvent(bookGrabbedEvent);
}
}
}