* ignore titles that are part of the series name when matching
This commit is contained in:
parent
315d0e9cb2
commit
158f73e703
|
@ -96,7 +96,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
|
|||
Episode e = (Episode) object;
|
||||
|
||||
// don't use title for matching if title equals series name
|
||||
if (!e.getTitle().equalsIgnoreCase(e.getSeriesName())) {
|
||||
if (!e.getSeriesName().toLowerCase().contains(e.getTitle().toLowerCase())) {
|
||||
object = e.getTitle();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue