mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* 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;
|
Episode e = (Episode) object;
|
||||||
|
|
||||||
// don't use title for matching if title equals series name
|
// 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();
|
object = e.getTitle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user