mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: Add DownloadClient and DownloadId to Webhook notifications
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
dca8495f38
commit
807460771e
3 changed files with 10 additions and 2 deletions
|
@ -34,7 +34,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
QualityVersion = quality.Revision.Version,
|
||||
ReleaseGroup = remoteAlbum.ParsedAlbumInfo.ReleaseGroup
|
||||
}),
|
||||
Release = new WebhookRelease(quality, remoteAlbum)
|
||||
Release = new WebhookRelease(quality, remoteAlbum),
|
||||
DownloadClient = message.DownloadClient,
|
||||
DownloadId = message.DownloadId
|
||||
};
|
||||
|
||||
_proxy.SendWebhook(payload, Settings);
|
||||
|
@ -56,7 +58,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
ReleaseGroup = x.ReleaseGroup
|
||||
})).ToList(),
|
||||
TrackFiles = trackFiles.ConvertAll(x => new WebhookTrackFile(x)),
|
||||
IsUpgrade = message.OldFiles.Any()
|
||||
IsUpgrade = message.OldFiles.Any(),
|
||||
DownloadClient = message.DownloadClient,
|
||||
DownloadId = message.DownloadId
|
||||
};
|
||||
|
||||
_proxy.SendWebhook(payload, Settings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue