update saving of ForcedSortName
This commit is contained in:
parent
9459bf7ffc
commit
ae2c4a912a
|
@ -339,9 +339,10 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||||
writer.WriteElementString("LocalTitle", item.Name);
|
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)
|
if (item.PremiereDate.HasValue)
|
||||||
|
|
|
@ -538,9 +538,10 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
writer.WriteElementString("year", item.ProductionYear.Value.ToString(UsCulture));
|
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))
|
if (!string.IsNullOrEmpty(item.OfficialRating))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user