Fix matching issue causing "TerraNova/Terra.Nova.S01E01.mkv" to be matched to NOVA instead of Terra Nova
This commit is contained in:
parent
04cbcb62c2
commit
06edb22e5e
|
@ -159,7 +159,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
|
||||||
String[] names = new String[objects.length];
|
String[] names = new String[objects.length];
|
||||||
|
|
||||||
for (int i = 0; i < objects.length; i++) {
|
for (int i = 0; i < objects.length; i++) {
|
||||||
names[i] = normalizeObject(objects[i]);
|
names[i] = normalizeObject(objects[i]).replaceAll("\\s", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
return names;
|
return names;
|
||||||
|
|
Loading…
Reference in New Issue