New: Add size to episode files in Webhook payload

This commit is contained in:
Mark McDowall 2020-10-04 12:01:19 -07:00
parent 05ffdd07a2
commit 89a4249072
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ namespace NzbDrone.Core.Notifications.Webhook
QualityVersion = episodeFile.Quality.Revision.Version; QualityVersion = episodeFile.Quality.Revision.Version;
ReleaseGroup = episodeFile.ReleaseGroup; ReleaseGroup = episodeFile.ReleaseGroup;
SceneName = episodeFile.SceneName; SceneName = episodeFile.SceneName;
Size = episodeFile.Size;
} }
public int Id { get; set; } public int Id { get; set; }
@ -24,5 +25,6 @@ namespace NzbDrone.Core.Notifications.Webhook
public int QualityVersion { get; set; } public int QualityVersion { get; set; }
public string ReleaseGroup { get; set; } public string ReleaseGroup { get; set; }
public string SceneName { get; set; } public string SceneName { get; set; }
public long Size { get; set; }
} }
} }