From 7dde5e0e42a5e77ff63fe35c3a6a443f0e37c2b7 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 26 Sep 2022 20:02:46 -0500 Subject: [PATCH] New: Send TrackFile in Webhook retag payload Fixes #2533 --- src/NzbDrone.Core/Notifications/Webhook/Webhook.cs | 3 ++- src/NzbDrone.Core/Notifications/Webhook/WebhookRetagPayload.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs index 9257b7601..ac4177028 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -87,7 +87,8 @@ namespace NzbDrone.Core.Notifications.Webhook var payload = new WebhookRetagPayload { EventType = WebhookEventType.Retag, - Artist = new WebhookArtist(message.Artist) + Artist = new WebhookArtist(message.Artist), + TrackFile = new WebhookTrackFile(message.TrackFile) }; _proxy.SendWebhook(payload, Settings); diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookRetagPayload.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookRetagPayload.cs index b969060da..970900c16 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookRetagPayload.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookRetagPayload.cs @@ -3,5 +3,6 @@ namespace NzbDrone.Core.Notifications.Webhook public class WebhookRetagPayload : WebhookPayload { public WebhookArtist Artist { get; set; } + public WebhookTrackFile TrackFile { get; set; } } }