1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

* ignore everything that is obviously an episode in strict mode

This commit is contained in:
Reinhard Pointner 2014-08-17 15:26:19 +00:00
parent ec58a33ec9
commit ea3eaa8adb

View File

@ -186,7 +186,7 @@ class MovieHashMatcher implements AutoCompleteMatcher {
if (strict) {
// in strict mode, only process movies that follow the name (year) pattern
List<Integer> year = parseMovieYear(getRelativePathTail(f, 3).getPath());
if (year.size() > 0) {
if (year.size() > 0 && parseEpisodeNumber(f, true) == null) {
// allow only movie matches where the the movie year matches the year pattern in the filename
List<Movie> matches = new ArrayList<Movie>();
for (Movie movie : detectMovie(f, null, service, locale, strict)) {