From 1878d3b060688d3885737ad64dbc28787a829eef Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 13 Mar 2016 20:00:13 +0000 Subject: [PATCH] Refactor --- source/net/filebot/media/MediaDetection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/media/MediaDetection.java b/source/net/filebot/media/MediaDetection.java index 42f068d6..d6a7ab4c 100644 --- a/source/net/filebot/media/MediaDetection.java +++ b/source/net/filebot/media/MediaDetection.java @@ -407,7 +407,7 @@ public class MediaDetection { for (File path : listPathTail(f, 2, true)) { String fn = getName(path); // ignore non-strict series name parsing if there are movie year patterns - if (!strict && parseMovieYear(fn).equals(matchIntegers(stripFormatInfo(fn)))) { + if (!strict && parseMovieYear(fn).size() > 0) { break; } String sn = seriesNameMatcher.matchByEpisodeIdentifier(fn);