update BaseXmlSaver
This commit is contained in:
parent
21df06bba9
commit
c352c4ac40
|
@ -541,29 +541,29 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||||
// builder.Append("</Studios>");
|
// builder.Append("</Studios>");
|
||||||
//}
|
//}
|
||||||
|
|
||||||
//if (item.Tags.Count > 0)
|
if (item.Tags.Count > 0)
|
||||||
//{
|
{
|
||||||
// builder.Append("<Tags>");
|
writer.WriteStartElement("Tags");
|
||||||
|
|
||||||
// foreach (var tag in item.Tags)
|
foreach (var tag in item.Tags)
|
||||||
// {
|
{
|
||||||
// builder.Append("<Tag>" + SecurityElement.Escape(tag) + "</Tag>");
|
writer.WriteElementString("Tag", tag);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// builder.Append("</Tags>");
|
writer.WriteEndElement();
|
||||||
//}
|
}
|
||||||
|
|
||||||
//if (item.Keywords.Count > 0)
|
if (item.Keywords.Count > 0)
|
||||||
//{
|
{
|
||||||
// builder.Append("<PlotKeywords>");
|
writer.WriteStartElement("PlotKeywords");
|
||||||
|
|
||||||
// foreach (var tag in item.Keywords)
|
foreach (var tag in item.Keywords)
|
||||||
// {
|
{
|
||||||
// builder.Append("<PlotKeyword>" + SecurityElement.Escape(tag) + "</PlotKeyword>");
|
writer.WriteElementString("PlotKeyword", tag);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// builder.Append("</PlotKeywords>");
|
writer.WriteEndElement();
|
||||||
//}
|
}
|
||||||
|
|
||||||
//var people = libraryManager.GetPeople(item);
|
//var people = libraryManager.GetPeople(item);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user