don't save production year in person xml
This commit is contained in:
parent
88f1723f99
commit
b02a1c7e76
|
@ -245,7 +245,7 @@ namespace MediaBrowser.Providers.Savers
|
||||||
builder.Append("<Rating>" + SecurityElement.Escape(item.CommunityRating.Value.ToString(UsCulture)) + "</Rating>");
|
builder.Append("<Rating>" + SecurityElement.Escape(item.CommunityRating.Value.ToString(UsCulture)) + "</Rating>");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.ProductionYear.HasValue)
|
if (item.ProductionYear.HasValue && !(item is Person))
|
||||||
{
|
{
|
||||||
builder.Append("<ProductionYear>" + SecurityElement.Escape(item.ProductionYear.Value.ToString(UsCulture)) + "</ProductionYear>");
|
builder.Append("<ProductionYear>" + SecurityElement.Escape(item.ProductionYear.Value.ToString(UsCulture)) + "</ProductionYear>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user