* 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:
parent
6ff2dbc171
commit
a96a205393
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue