fix boxsets hanging up library scan

This commit is contained in:
Luke Pulverenti 2017-06-09 15:24:04 -04:00
parent 46b9ebd48e
commit e2ec83cbaa

View File

@ -17,9 +17,16 @@ namespace MediaBrowser.LocalMetadata.Parsers
{
case "CollectionItems":
using (var subReader = reader.ReadSubtree())
if (!reader.IsEmptyElement)
{
FetchFromCollectionItemsNode(subReader, item);
using (var subReader = reader.ReadSubtree())
{
FetchFromCollectionItemsNode(subReader, item);
}
}
else
{
reader.Read();
}
break;