Capture the TVDBID when requesting.

pull/332/head
tidusjar 9 years ago
parent fefad77ac1
commit 7ca1272ca4

@ -17,6 +17,7 @@ namespace PlexRequests.Store
// ReSharper disable once IdentifierTypo // ReSharper disable once IdentifierTypo
public int ProviderId { get; set; } public int ProviderId { get; set; }
public string ImdbId { get; set; } public string ImdbId { get; set; }
public string TvDbId { get; set; }
public string Overview { get; set; } public string Overview { get; set; }
public string Title { get; set; } public string Title { get; set; }
public string PosterPath { get; set; } public string PosterPath { get; set; }

@ -602,6 +602,7 @@ namespace PlexRequests.UI.Modules
Issues = IssueState.None, Issues = IssueState.None,
ImdbId = showInfo.externals?.imdb ?? string.Empty, ImdbId = showInfo.externals?.imdb ?? string.Empty,
SeasonCount = showInfo.seasonCount, SeasonCount = showInfo.seasonCount,
TvDbId = showInfo.externals?.thetvdb?.ToString() ?? string.Empty,
}; };
var seasonsList = new List<int>(); var seasonsList = new List<int>();

Loading…
Cancel
Save