fix boxsets hanging up library scan

release-10.1.0
Luke Pulverenti 8 years ago
parent 46b9ebd48e
commit e2ec83cbaa

@ -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;

Loading…
Cancel
Save