update saving of ForcedSortName

release-10.1.0
Luke Pulverenti 8 years ago
parent 9459bf7ffc
commit ae2c4a912a

@ -339,9 +339,10 @@ namespace MediaBrowser.LocalMetadata.Savers
writer.WriteElementString("LocalTitle", item.Name);
}
if (!string.IsNullOrEmpty(item.ForcedSortName))
var forcedSortName = item.ForcedSortName;
if (!string.IsNullOrEmpty(forcedSortName))
{
writer.WriteElementString("SortTitle", item.ForcedSortName);
writer.WriteElementString("SortTitle", forcedSortName);
}
if (item.PremiereDate.HasValue)

@ -538,9 +538,10 @@ namespace MediaBrowser.XbmcMetadata.Savers
writer.WriteElementString("year", item.ProductionYear.Value.ToString(UsCulture));
}
if (!string.IsNullOrEmpty(item.ForcedSortName))
var forcedSortName = item.ForcedSortName;
if (!string.IsNullOrEmpty(forcedSortName))
{
writer.WriteElementString("sorttitle", item.ForcedSortName);
writer.WriteElementString("sorttitle", forcedSortName);
}
if (!string.IsNullOrEmpty(item.OfficialRating))

Loading…
Cancel
Save