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
1 changed files with 1 additions and 1 deletions

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 "";
}