mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 06:15:02 -05:00
amc and movie detection fine-tuning
@see http://www.filebot.net/forums/viewtopic.php?f=4&p=5379#p5375
This commit is contained in:
parent
e83de902ee
commit
27575e411e
@ -897,7 +897,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||
}
|
||||
|
||||
// return first and only value
|
||||
return probableMatches.size() <= 5 ? probableMatches : probableMatches.subList(0, 5);
|
||||
return probableMatches.size() <= 3 ? probableMatches : probableMatches.subList(0, 3); // trust that the correct match is in the Top 3
|
||||
}
|
||||
|
||||
|
||||
|
@ -619,6 +619,10 @@ public class MediaDetection {
|
||||
List<String> paragon = stripReleaseInfo(terms, true);
|
||||
List<T> sorted = new ArrayList<T>(options);
|
||||
sort(sorted, new SimilarityComparator(getMovieMatchMetric(), paragon.toArray()));
|
||||
|
||||
// DEBUG
|
||||
// System.out.format("sortBySimilarity %s => %s", terms, options);
|
||||
|
||||
return sorted;
|
||||
}
|
||||
|
||||
@ -814,7 +818,7 @@ public class MediaDetection {
|
||||
querySet.addAll(stripReleaseInfo(files, false));
|
||||
|
||||
// remove duplicates
|
||||
querySet = getUniqueQuerySet(querySet);
|
||||
querySet = getUniqueQuerySet(stripBlacklistedTerms(querySet));
|
||||
|
||||
// DEBUG
|
||||
// System.out.format("Query %s: %s%n", queryLookupService.getName(), querySet);
|
||||
|
@ -46,6 +46,7 @@
|
||||
^HVDVD_TS$
|
||||
^In.Progress$
|
||||
^Incoming$
|
||||
^I|II|III$
|
||||
^jukebox$
|
||||
^MD0_DATA$
|
||||
^media$
|
||||
|
@ -1494,7 +1494,7 @@ PAPAi
|
||||
papi
|
||||
PAROVOZ
|
||||
PARTICLE
|
||||
Pate
|
||||
PATE
|
||||
PaTHe
|
||||
PaYxXx
|
||||
PC
|
||||
|
Loading…
Reference in New Issue
Block a user