1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 15:58:52 -05:00

Avoid false positives

This commit is contained in:
Reinhard Pointner 2019-03-15 15:17:15 +07:00
parent 078543d1e9
commit ed0aa79f9f

View File

@ -392,7 +392,7 @@ public class AutoDetection {
}
public boolean aliasNameMatch() {
return m.getEffectiveNamesWithoutYear().stream().map(this::normalize).anyMatch(fn::contains);
return m.getEffectiveNamesWithoutYear().stream().map(this::normalize).filter(s -> s.length() >= 5).anyMatch(fn::contains);
}
}