Refactor
This commit is contained in:
parent
33dc0d7ca5
commit
1878d3b060
@ -407,7 +407,7 @@ public class MediaDetection {
|
|||||||
for (File path : listPathTail(f, 2, true)) {
|
for (File path : listPathTail(f, 2, true)) {
|
||||||
String fn = getName(path);
|
String fn = getName(path);
|
||||||
// ignore non-strict series name parsing if there are movie year patterns
|
// 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;
|
break;
|
||||||
}
|
}
|
||||||
String sn = seriesNameMatcher.matchByEpisodeIdentifier(fn);
|
String sn = seriesNameMatcher.matchByEpisodeIdentifier(fn);
|
||||||
|
Loading…
Reference in New Issue
Block a user