mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Fixed #210
This commit is contained in:
parent
ae4d51de9b
commit
1d3520ce93
1 changed files with 7 additions and 3 deletions
|
@ -299,11 +299,15 @@ namespace PlexRequests.UI.Modules
|
|||
var viewTv = new List<SearchTvShowViewModel>();
|
||||
foreach (var t in apiTv)
|
||||
{
|
||||
var banner = t.show.image?.medium;
|
||||
if (!string.IsNullOrEmpty(banner))
|
||||
{
|
||||
banner = banner.Replace("http", "https");
|
||||
}
|
||||
|
||||
var viewT = new SearchTvShowViewModel
|
||||
{
|
||||
// We are constructing the banner with the id:
|
||||
// http://thetvdb.com/banners/_cache/posters/ID-1.jpg
|
||||
Banner = t.show.image?.medium,
|
||||
Banner = banner,
|
||||
FirstAired = t.show.premiered,
|
||||
Id = t.show.externals?.thetvdb ?? 0,
|
||||
ImdbId = t.show.externals?.imdb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue