From a96a20539329bdacb3a7707c31664a5340eb6f1f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 6 Apr 2013 10:31:38 +0000 Subject: [PATCH] * 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) --- source/net/sourceforge/filebot/similarity/EpisodeMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java b/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java index 2236b4c7..b1d23faf 100644 --- a/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java +++ b/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java @@ -319,7 +319,7 @@ public enum EpisodeMetrics implements SimilarityMetric { protected String normalize(Object object) { if (object instanceof Episode) { 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) { object = ((Movie) object).getYear(); }