mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge pull request #5084 from Ullmie02/nfo-tagline
Don't write tagline in <outline> in nfo files
This commit is contained in:
commit
6e9cebaf74
1 changed files with 1 additions and 9 deletions
|
@ -450,15 +450,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
|||
writer.WriteElementString("plot", overview);
|
||||
}
|
||||
|
||||
if (item is Video)
|
||||
{
|
||||
var outline = (item.Tagline ?? string.Empty)
|
||||
.StripHtml()
|
||||
.Replace(""", "'", StringComparison.Ordinal);
|
||||
|
||||
writer.WriteElementString("outline", outline);
|
||||
}
|
||||
else
|
||||
if (item is not Video)
|
||||
{
|
||||
writer.WriteElementString("outline", overview);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue