From aae0ef200d2cb42f3ceb35efcd97806301eea8a3 Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 20 Mar 2020 22:34:05 -0400 Subject: [PATCH] New: Tmdb and Imdb Webhook Properties --- src/NzbDrone.Core/Notifications/Webhook/WebhookMovie.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookMovie.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookMovie.cs index 40ff6b400..a04806fe3 100755 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookMovie.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookMovie.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Movies; @@ -11,6 +11,8 @@ public class WebhookMovie public string FilePath { get; set; } public string ReleaseDate { get; set; } public string FolderPath { get; set; } + public int TmdbId { get; set; } + public string ImdbId { get; set; } public WebhookMovie() { @@ -22,6 +24,8 @@ public WebhookMovie(Movie movie) Title = movie.Title; ReleaseDate = movie.PhysicalReleaseDate().ToString("yyyy-MM-dd"); FolderPath = movie.Path; + TmdbId = movie.TmdbId; + ImdbId = movie.ImdbId; } public WebhookMovie(Movie movie, MovieFile movieFile)