mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
* fine-tune matching of partial sxe info
This commit is contained in:
parent
677ac82d58
commit
b10b6743f6
@ -31,7 +31,7 @@ public class SeasonEpisodeMetric implements SimilarityMetric {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (sxe1.season == sxe2.season || sxe1.episode == sxe2.episode) {
|
||||
if ((sxe1.season >= 0 && sxe1.season == sxe2.season) || (sxe1.episode >= 0 && sxe1.episode == sxe2.episode)) {
|
||||
// at least we have a partial match
|
||||
similarity = 0.5f;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user