From 89a4249072f2f6157d6d81141ff2062cb791aaa3 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 4 Oct 2020 12:01:19 -0700 Subject: [PATCH] New: Add size to episode files in Webhook payload --- src/NzbDrone.Core/Notifications/Webhook/WebhookEpisodeFile.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookEpisodeFile.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookEpisodeFile.cs index ad2779538..346e6a836 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookEpisodeFile.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookEpisodeFile.cs @@ -15,6 +15,7 @@ namespace NzbDrone.Core.Notifications.Webhook QualityVersion = episodeFile.Quality.Revision.Version; ReleaseGroup = episodeFile.ReleaseGroup; SceneName = episodeFile.SceneName; + Size = episodeFile.Size; } public int Id { get; set; } @@ -24,5 +25,6 @@ namespace NzbDrone.Core.Notifications.Webhook public int QualityVersion { get; set; } public string ReleaseGroup { get; set; } public string SceneName { get; set; } + public long Size { get; set; } } } \ No newline at end of file