diff --git a/source/net/filebot/media/MediaDetection.java b/source/net/filebot/media/MediaDetection.java index cdb6bffa..ca62439e 100644 --- a/source/net/filebot/media/MediaDetection.java +++ b/source/net/filebot/media/MediaDetection.java @@ -639,8 +639,12 @@ public class MediaDetection { if (movieNameMatches.isEmpty()) { movieNameMatches = matchMovieFromStringWithoutSpacing(terms, strict); - if (movieNameMatches.isEmpty() && !terms.equals(stripReleaseInfo(terms, true))) { - movieNameMatches = matchMovieFromStringWithoutSpacing(stripReleaseInfo(terms, true), strict); + // check alternative terms if necessary and only if they're different + if (movieNameMatches.isEmpty()) { + List alternativeTerms = stripReleaseInfo(terms, true); + if (!terms.containsAll(alternativeTerms)) { + movieNameMatches = matchMovieFromStringWithoutSpacing(alternativeTerms, strict); + } } }