mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
Ignore N/A values
This commit is contained in:
parent
c5564f60c8
commit
0273408145
@ -238,6 +238,6 @@ public class OMDbClient implements MovieIdentificationService {
|
||||
if (value == null || value.isEmpty())
|
||||
return emptyList();
|
||||
|
||||
return regex.splitAsStream(value).map(String::trim).map(toObject).collect(toList());
|
||||
return regex.splitAsStream(value).map(String::trim).filter(s -> !s.equals("N/A")).map(toObject).collect(toList());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user