* fine-tune movie ranking
This commit is contained in:
parent
2a424ad3b2
commit
7e1a8bb5c7
|
@ -616,7 +616,10 @@ public class MediaDetection {
|
|||
}
|
||||
|
||||
public static <T> List<T> sortBySimilarity(Collection<T> options, Collection<String> terms) throws IOException {
|
||||
List<String> paragon = stripReleaseInfo(terms, true);
|
||||
Collection<String> paragon = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
|
||||
paragon.addAll(stripReleaseInfo(terms, true));
|
||||
paragon.addAll(stripReleaseInfo(terms, false));
|
||||
|
||||
List<T> sorted = new ArrayList<T>(options);
|
||||
sort(sorted, new SimilarityComparator(getMovieMatchMetric(), paragon.toArray()));
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
^volume[0-9]?$
|
||||
^Volumes$
|
||||
^watch$
|
||||
A.PROCESAR
|
||||
A.Release.Lounge
|
||||
ABC
|
||||
AC3D
|
||||
|
@ -205,6 +206,7 @@ o2.pl
|
|||
onlinetvrecorder
|
||||
P2P
|
||||
PBS
|
||||
PELICULAS
|
||||
plex
|
||||
Pre.?DVD
|
||||
PROPER
|
||||
|
|
|
@ -1132,6 +1132,7 @@ iRoNiCs
|
|||
iSD
|
||||
iSG
|
||||
iSRAELiTE
|
||||
israntxa
|
||||
iTA
|
||||
ITG
|
||||
iTSDVD
|
||||
|
|
Loading…
Reference in New Issue