|
|
@ -693,11 +693,13 @@ namespace Ombi.UI.Modules
|
|
|
|
DateTime.TryParse(showInfo.premiered, out firstAir);
|
|
|
|
DateTime.TryParse(showInfo.premiered, out firstAir);
|
|
|
|
string fullShowName = $"{showInfo.name} ({firstAir.Year})";
|
|
|
|
string fullShowName = $"{showInfo.name} ({firstAir.Year})";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// For some reason the poster path is always http
|
|
|
|
|
|
|
|
var posterPath = showInfo.image?.medium.Replace("http:", "https:");
|
|
|
|
var model = new RequestedModel
|
|
|
|
var model = new RequestedModel
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Type = RequestType.TvShow,
|
|
|
|
Type = RequestType.TvShow,
|
|
|
|
Overview = showInfo.summary.RemoveHtml(),
|
|
|
|
Overview = showInfo.summary.RemoveHtml(),
|
|
|
|
PosterPath = showInfo.image?.medium,
|
|
|
|
PosterPath = posterPath,
|
|
|
|
Title = showInfo.name,
|
|
|
|
Title = showInfo.name,
|
|
|
|
ReleaseDate = firstAir,
|
|
|
|
ReleaseDate = firstAir,
|
|
|
|
Status = showInfo.status,
|
|
|
|
Status = showInfo.status,
|
|
|
|