From 0579f245e47334094c03583defc1baf434de2b36 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 30 Oct 2016 14:42:45 -0400 Subject: [PATCH] update theme --- .../Savers/BaseXmlSaver.cs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs b/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs index 5ae7f11b52..9cfca3086a 100644 --- a/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs +++ b/MediaBrowser.LocalMetadata/Savers/BaseXmlSaver.cs @@ -329,20 +329,20 @@ namespace MediaBrowser.LocalMetadata.Savers writer.WriteElementString("Type", item.DisplayMediaType); } - //if (item.CriticRating.HasValue) - //{ - // builder.Append("" + SecurityElement.Escape(item.CriticRating.Value.ToString(UsCulture)) + ""); - //} + if (item.CriticRating.HasValue) + { + writer.WriteElementString("CriticRating", item.CriticRating.Value.ToString(UsCulture)); + } - //if (!string.IsNullOrEmpty(item.CriticRatingSummary)) - //{ - // builder.Append(""); - //} + if (!string.IsNullOrEmpty(item.CriticRatingSummary)) + { + writer.WriteElementString("CriticRatingSummary", item.CriticRatingSummary); + } - //if (!string.IsNullOrEmpty(item.Overview)) - //{ - // builder.Append(""); - //} + if (!string.IsNullOrEmpty(item.Overview)) + { + writer.WriteElementString("Overview", item.Overview); + } //var hasOriginalTitle = item as IHasOriginalTitle; //if (hasOriginalTitle != null)