mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28: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:
parent
03afd09625
commit
cc9d823d78
@ -716,7 +716,7 @@ public class MediaDetection {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getSimilarity(Object o1, Object o2) {
|
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));
|
}, new SequenceMatchSimilarity(), new SequenceMatchSimilarity(0, true));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user