Fixed: Add to AddIfNotNull for Images

pull/4109/head
Qstick 5 years ago
parent 588771f3ee
commit bdb4f490b9

@ -162,8 +162,8 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
movie.TitleSlug += "-" + movie.TmdbId.ToString();
movie.Images.Add(MapImage(resource.poster_path, MediaCoverTypes.Poster));//TODO: Update to load image specs from tmdb page!
movie.Images.Add(MapImage(resource.backdrop_path, MediaCoverTypes.Fanart));
movie.Images.AddIfNotNull(MapImage(resource.poster_path, MediaCoverTypes.Poster));//TODO: Update to load image specs from tmdb page!
movie.Images.AddIfNotNull(MapImage(resource.backdrop_path, MediaCoverTypes.Fanart));
movie.Runtime = resource.runtime;

Loading…
Cancel
Save