break from chapter extraction once one fails

pull/702/head
Luke Pulverenti 12 years ago
parent 3a90b960a5
commit d14c3b31ff

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

Loading…
Cancel
Save