1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

New: Add additional fields to Webhook Manual Interaction Required events

This commit is contained in:
Alex Cortelyou
2024-03-27 22:30:21 -07:00
committed by GitHub
parent 35d0e6a6f8
commit 1ec1ce58e9
3 changed files with 22 additions and 0 deletions
@@ -178,6 +178,8 @@ namespace NzbDrone.Core.Notifications.Webhook
DownloadClient = message.DownloadClientInfo?.Name,
DownloadClientType = message.DownloadClientInfo?.Type,
DownloadId = message.DownloadId,
DownloadStatus = message.TrackedDownload.Status.ToString(),
DownloadStatusMessages = message.TrackedDownload.StatusMessages.Select(x => new WebhookDownloadStatusMessage(x)).ToList(),
CustomFormatInfo = new WebhookCustomFormatInfo(remoteEpisode.CustomFormats, remoteEpisode.CustomFormatScore),
Release = new WebhookGrabbedRelease(message.Release)
};