From 25ed9e5020c12faad8ac1438c05dd22509a0f1cd Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 12 Dec 2020 23:52:43 -0500 Subject: [PATCH] New: Add size to track files in Webhook payload Co-Authored-By: Mark McDowall --- src/NzbDrone.Core/Notifications/Webhook/WebhookTrackFile.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookTrackFile.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookTrackFile.cs index 60a6fe799..26086cb99 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookTrackFile.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookTrackFile.cs @@ -16,6 +16,7 @@ namespace NzbDrone.Core.Notifications.Webhook QualityVersion = trackFile.Quality.Revision.Version; ReleaseGroup = trackFile.ReleaseGroup; SceneName = trackFile.SceneName; + Size = trackFile.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; } } }