diff --git a/source/net/sourceforge/filebot/similarity/EpisodeMatcher.java b/source/net/sourceforge/filebot/similarity/EpisodeMatcher.java index 9e97a212..63a1794e 100644 --- a/source/net/sourceforge/filebot/similarity/EpisodeMatcher.java +++ b/source/net/sourceforge/filebot/similarity/EpisodeMatcher.java @@ -91,6 +91,10 @@ public class EpisodeMatcher extends Matcher { } private boolean isMultiEpisode(Episode[] episodes) { + // sanity check that there is valid episode data for at least two episodes + if (episodes.length < 2) + return false; + // check episode sequence integrity Integer seqIndex = null; for (Episode ep : episodes) {