mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05: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:
parent
26e89117a7
commit
b6d536d997
@ -297,7 +297,7 @@ class EpisodeListMatcher implements AutoCompleteMatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected String getQueryInputMessage(String header, String message, Collection<File> files) throws Exception {
|
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()) {
|
if (selection.isEmpty()) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user