mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-23 22:25:56 -04:00
New: Add DownloadClient and DownloadId to Webhook notifications
This commit is contained in:
@@ -34,7 +34,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
QualityVersion = quality.Revision.Version,
|
||||
ReleaseGroup = remoteEpisode.ParsedEpisodeInfo.ReleaseGroup
|
||||
}),
|
||||
Release = new WebhookRelease(quality, remoteEpisode)
|
||||
Release = new WebhookRelease(quality, remoteEpisode),
|
||||
DownloadClient = message.DownloadClient,
|
||||
DownloadId = message.DownloadId
|
||||
};
|
||||
|
||||
_proxy.SendWebhook(payload, Settings);
|
||||
@@ -57,7 +59,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
SceneName = episodeFile.SceneName
|
||||
}),
|
||||
EpisodeFile = new WebhookEpisodeFile(episodeFile),
|
||||
IsUpgrade = message.OldFiles.Any()
|
||||
IsUpgrade = message.OldFiles.Any(),
|
||||
DownloadClient = message.DownloadClient,
|
||||
DownloadId = message.DownloadId
|
||||
};
|
||||
|
||||
_proxy.SendWebhook(payload, Settings);
|
||||
|
||||
Reference in New Issue
Block a user