* 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
1 changed files with 1 additions and 1 deletions

View File

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