Merge pull request #5084 from Ullmie02/nfo-tagline

Don't write tagline in <outline> in nfo files
pull/5091/head
Bond-009 4 years ago committed by GitHub
commit 6e9cebaf74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -450,15 +450,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
writer.WriteElementString("plot", overview);
}
if (item is Video)
{
var outline = (item.Tagline ?? string.Empty)
.StripHtml()
.Replace("&quot;", "'", StringComparison.Ordinal);
writer.WriteElementString("outline", outline);
}
else
if (item is not Video)
{
writer.WriteElementString("outline", overview);
}

Loading…
Cancel
Save