update theme

This commit is contained in:
Luke Pulverenti 2016-10-30 14:42:45 -04:00
parent e32c9d54fd
commit 0579f245e4

View File

@ -329,20 +329,20 @@ namespace MediaBrowser.LocalMetadata.Savers
writer.WriteElementString("Type", item.DisplayMediaType);
}
//if (item.CriticRating.HasValue)
//{
// builder.Append("<CriticRating>" + SecurityElement.Escape(item.CriticRating.Value.ToString(UsCulture)) + "</CriticRating>");
//}
if (item.CriticRating.HasValue)
{
writer.WriteElementString("CriticRating", item.CriticRating.Value.ToString(UsCulture));
}
//if (!string.IsNullOrEmpty(item.CriticRatingSummary))
//{
// builder.Append("<CriticRatingSummary><![CDATA[" + item.CriticRatingSummary + "]]></CriticRatingSummary>");
//}
if (!string.IsNullOrEmpty(item.CriticRatingSummary))
{
writer.WriteElementString("CriticRatingSummary", item.CriticRatingSummary);
}
//if (!string.IsNullOrEmpty(item.Overview))
//{
// builder.Append("<Overview><![CDATA[" + item.Overview + "]]></Overview>");
//}
if (!string.IsNullOrEmpty(item.Overview))
{
writer.WriteElementString("Overview", item.Overview);
}
//var hasOriginalTitle = item as IHasOriginalTitle;
//if (hasOriginalTitle != null)