Fix matching issue causing "TerraNova/Terra.Nova.S01E01.mkv" to be matched to NOVA instead of Terra Nova

This commit is contained in:
Reinhard Pointner 2013-01-30 11:50:58 +00:00
parent 04cbcb62c2
commit 06edb22e5e
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
String[] names = new String[objects.length];
for (int i = 0; i < objects.length; i++) {
names[i] = normalizeObject(objects[i]);
names[i] = normalizeObject(objects[i]).replaceAll("\\s", "");
}
return names;