diff --git a/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs b/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs index 97780d054..466e50056 100644 --- a/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs +++ b/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs @@ -541,29 +541,29 @@ namespace MediaBrowser.LocalMetadata.Savers // builder.Append(""); //} - //if (item.Tags.Count > 0) - //{ - // builder.Append(""); + if (item.Tags.Count > 0) + { + writer.WriteStartElement("Tags"); - // foreach (var tag in item.Tags) - // { - // builder.Append("" + SecurityElement.Escape(tag) + ""); - // } + foreach (var tag in item.Tags) + { + writer.WriteElementString("Tag", tag); + } - // builder.Append(""); - //} + writer.WriteEndElement(); + } - //if (item.Keywords.Count > 0) - //{ - // builder.Append(""); + if (item.Keywords.Count > 0) + { + writer.WriteStartElement("PlotKeywords"); - // foreach (var tag in item.Keywords) - // { - // builder.Append("" + SecurityElement.Escape(tag) + ""); - // } + foreach (var tag in item.Keywords) + { + writer.WriteElementString("PlotKeyword", tag); + } - // builder.Append(""); - //} + writer.WriteEndElement(); + } //var people = libraryManager.GetPeople(item);