Added a fix for the poster path issue #1533

This commit is contained in:
Jamie.Rees 2017-10-06 08:12:31 +01:00
parent f5a0572946
commit 462bbcc4a6
2 changed files with 23 additions and 1 deletions

View file

@ -64,7 +64,7 @@ namespace Ombi.Core.Engine
RequestType = RequestType.Movie,
Overview = movieInfo.Overview,
ImdbId = movieInfo.ImdbId,
PosterPath = movieInfo.PosterPath.TrimStart('/'),
PosterPath = PosterPathHelper.FixPosterPath(movieInfo.PosterPath.TrimStart('/')),
Title = movieInfo.Title,
ReleaseDate = !string.IsNullOrEmpty(movieInfo.ReleaseDate)
? DateTime.Parse(movieInfo.ReleaseDate)