* fixed issues where numeric matching would give shows names without numbers an advantage, e.g. Touch 1x02 would be matched to Touch instead of Touch (2012)

This commit is contained in:
Reinhard Pointner 2013-04-06 10:31:38 +00:00
parent 6ff2dbc171
commit a96a205393
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
protected String normalize(Object object) { protected String normalize(Object object) {
if (object instanceof Episode) { if (object instanceof Episode) {
Episode e = (Episode) object; Episode e = (Episode) object;
object = String.format("%s %s", e.getSeriesName(), EpisodeFormat.SeasonEpisode.formatSxE(e)); object = EpisodeFormat.SeasonEpisode.formatSxE(e);
} else if (object instanceof Movie) { } else if (object instanceof Movie) {
object = ((Movie) object).getYear(); object = ((Movie) object).getYear();
} }