From 7ca1272ca491dd1230f9b9da4cb0a7713fc1d04f Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 9 Jun 2016 22:21:55 +0100 Subject: [PATCH] Capture the TVDBID when requesting. --- PlexRequests.Store/RequestedModel.cs | 1 + PlexRequests.UI/Modules/SearchModule.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/PlexRequests.Store/RequestedModel.cs b/PlexRequests.Store/RequestedModel.cs index a7fe7e0af..c63ede547 100644 --- a/PlexRequests.Store/RequestedModel.cs +++ b/PlexRequests.Store/RequestedModel.cs @@ -17,6 +17,7 @@ namespace PlexRequests.Store // ReSharper disable once IdentifierTypo public int ProviderId { get; set; } public string ImdbId { get; set; } + public string TvDbId { get; set; } public string Overview { get; set; } public string Title { get; set; } public string PosterPath { get; set; } diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index 2a4bbc719..ceaeaf389 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -602,6 +602,7 @@ namespace PlexRequests.UI.Modules Issues = IssueState.None, ImdbId = showInfo.externals?.imdb ?? string.Empty, SeasonCount = showInfo.seasonCount, + TvDbId = showInfo.externals?.thetvdb?.ToString() ?? string.Empty, }; var seasonsList = new List();