mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 16:35:08 -05:00
* fix for short movie names like e.g. "Up 2009"
This commit is contained in:
parent
d53de9b922
commit
ba02c192d3
@ -79,7 +79,7 @@ public class TMDbClient implements MovieIdentificationService {
|
||||
String query = (movieYear > 0) ? String.format("%s y:%d", movieName, movieYear) : movieName.toString();
|
||||
|
||||
// ignore queries that are too short to yield good results
|
||||
if (movieName.length() < 3) {
|
||||
if (movieName.length() < 3 && !(movieName.length() > 1 && movieYear > 0)) {
|
||||
return emptyList();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user