1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 00:08:51 -05:00

Fix year match regression issues

@see https://www.filebot.net/forums/viewtopic.php?f=6&t=5340&p=30362#p30362
This commit is contained in:
Reinhard Pointner 2017-09-26 11:50:13 +07:00
parent 03afd09625
commit cc9d823d78

View File

@ -716,7 +716,7 @@ public class MediaDetection {
@Override
public float getSimilarity(Object o1, Object o2) {
return super.getSimilarity(o1, o2) * 1.4f; // extra weight for year match
return super.getSimilarity(o1, o2) * 2; // extra weight for year match
}
}, new SequenceMatchSimilarity(), new SequenceMatchSimilarity(0, true));
}