break from chapter extraction once one fails

This commit is contained in:
Luke Pulverenti 2013-04-06 20:27:33 -04:00
parent 3a90b960a5
commit d14c3b31ff

View file

@ -717,6 +717,10 @@ namespace MediaBrowser.Controller.MediaInfo
chapter.ImagePath = path; chapter.ImagePath = path;
changesMade = true; changesMade = true;
} }
else
{
break;
}
} }
} }
else if (!string.Equals(path, chapter.ImagePath, StringComparison.OrdinalIgnoreCase)) else if (!string.Equals(path, chapter.ImagePath, StringComparison.OrdinalIgnoreCase))