|
|
|
@ -293,6 +293,11 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
|
dto.Name = item.Name;
|
|
|
|
|
dto.OfficialRating = item.OfficialRating;
|
|
|
|
|
|
|
|
|
|
var hasOverview = fields.Contains(ItemFields.Overview);
|
|
|
|
|
var hasHtmlOverview = fields.Contains(ItemFields.OverviewHtml);
|
|
|
|
|
|
|
|
|
|
if (hasOverview || hasHtmlOverview)
|
|
|
|
|
{
|
|
|
|
|
var strippedOverview = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml();
|
|
|
|
|
|
|
|
|
|
if (fields.Contains(ItemFields.Overview))
|
|
|
|
@ -305,6 +310,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
dto.OverviewHtml = item.Overview;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// If there are no backdrops, indicate what parent has them in case the Ui wants to allow inheritance
|
|
|
|
|
if (dto.BackdropImageTags.Count == 0)
|
|
|
|
|