mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 08:25:03 -05:00
* ignore release info and other blacklisted tokens when matching nfo to movie file
This commit is contained in:
parent
59637a248a
commit
dcef239966
@ -105,8 +105,10 @@ class MovieHashMatcher implements AutoCompleteMatcher {
|
||||
|
||||
// match movie info to movie files that match the nfo file name
|
||||
SortedSet<File> siblingMovieFiles = new TreeSet<File>(filter(movieFiles, new FolderFilter(nfo.getParentFile())));
|
||||
String baseName = stripReleaseInfo(getName(nfo));
|
||||
|
||||
for (File movieFile : siblingMovieFiles) {
|
||||
if (isDerived(movieFile, nfo)) {
|
||||
if (baseName.equalsIgnoreCase(stripReleaseInfo(getName(movieFile)))) {
|
||||
movieByFile.put(movieFile, movie);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user