diff --git a/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java b/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java index 8d5577f7..07cec89d 100644 --- a/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java +++ b/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java @@ -111,10 +111,10 @@ class MovieHashMatcher implements AutoCompleteMatcher { // match movie info to movie files that match the nfo file name SortedSet siblingMovieFiles = new TreeSet(filter(movieFiles, new ParentFilter(nfo.getParentFile()))); - String baseName = stripReleaseInfo(getName(nfo)); + String baseName = stripReleaseInfo(getName(nfo).toLowerCase()); for (File movieFile : siblingMovieFiles) { - if (baseName.equalsIgnoreCase(stripReleaseInfo(getName(movieFile)))) { + if (stripReleaseInfo(getName(movieFile)).toLowerCase().startsWith(baseName)) { movieByFile.put(movieFile, movie); } }