1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Limit to 4 items due to size constraints

@see https://forums.plex.tv/discussion/241448/how-do-i-get-filebot-to-rename-these-shows
This commit is contained in:
Reinhard Pointner 2016-10-19 20:51:51 +08:00
parent 26e89117a7
commit b6d536d997

View File

@ -297,7 +297,7 @@ class EpisodeListMatcher implements AutoCompleteMatcher {
}
protected String getQueryInputMessage(String header, String message, Collection<File> files) throws Exception {
List<File> selection = files.stream().sorted(comparing(File::length).reversed()).limit(5).sorted(HUMAN_NAME_ORDER).collect(toList());
List<File> selection = files.stream().sorted(comparing(File::length).reversed()).limit(4).sorted(HUMAN_NAME_ORDER).collect(toList());
if (selection.isEmpty()) {
return "";
}