handle empty person name

This commit is contained in:
Luke Pulverenti 2016-01-28 13:38:40 -05:00
parent ce813c40c9
commit fa6481ff26

View File

@ -631,7 +631,10 @@ namespace MediaBrowser.XbmcMetadata.Parsers
{ {
var person = GetPersonFromXmlNode(subtree); var person = GetPersonFromXmlNode(subtree);
itemResult.AddPerson(person); if (!string.IsNullOrWhiteSpace(person.Name))
{
itemResult.AddPerson(person);
}
} }
break; break;
} }