From 1d3520ce93201abada7d5ba5a11c049192082aef Mon Sep 17 00:00:00 2001 From: tidusjar Date: Tue, 31 May 2016 13:08:13 +0100 Subject: [PATCH] Fixed #210 --- PlexRequests.UI/Modules/SearchModule.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index 0de1a23b9..42d17dabc 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -299,11 +299,15 @@ namespace PlexRequests.UI.Modules var viewTv = new List(); 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,