core: rename banner field to poster #10092 (#10134)

This commit is contained in:
Diego Heras
2020-11-08 00:43:33 +01:00
committed by GitHub
parent 94dfb9b8a7
commit c5dd37b836
212 changed files with 287 additions and 288 deletions

View File

@@ -222,15 +222,15 @@ namespace Jackett.Common.Indexers.Abstract
var description = tags?.Any() == true && !string.IsNullOrEmpty(tags[0].ToString())
? "Tags: " + string.Join(", ", tags) + "\n"
: null;
Uri banner = null;
Uri poster = null;
if (!string.IsNullOrEmpty(cover))
banner = new Uri(cover);
poster = new Uri(cover);
var release = new ReleaseInfo
{
PublishDate = groupTime,
Title = title.ToString(),
Description = description,
BannerUrl = banner
Poster = poster
};