Merge pull request #6774 from cvium/fix_no_thumb_in_fanart

This commit is contained in:
Bond-009 2021-11-04 17:50:33 +01:00 committed by GitHub
commit e3e6953c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -785,7 +785,11 @@ namespace MediaBrowser.XbmcMetadata.Parsers
case "fanart":
{
var subtree = reader.ReadSubtree();
subtree.ReadToDescendant("thumb");
if (!subtree.ReadToDescendant("thumb"))
{
break;
}
FetchThumbNode(subtree, itemResult);
break;
}