From 4f1ac07c67d2fb5be317aa135b74b06ab7200589 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 27 Mar 2013 12:33:23 +0000 Subject: [PATCH] * also account for sxe patterns in the series name --- source/net/sourceforge/filebot/similarity/EpisodeMetrics.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java b/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java index e7dde324..8e58f883 100644 --- a/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java +++ b/source/net/sourceforge/filebot/similarity/EpisodeMetrics.java @@ -148,7 +148,8 @@ public enum EpisodeMetrics implements SimilarityMetric { public Object getTitle(Object o) { if (o instanceof Episode) { - return ((Episode) o).getTitle(); + Episode e = (Episode) o; + return String.format("%s %s", e.getSeriesName(), e.getTitle()); } return o; }