mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 16:35:08 -05:00
* sanity check
This commit is contained in:
parent
348cea60bf
commit
aaa5a71e49
@ -777,9 +777,11 @@ public class MediaBindingBean {
|
|||||||
public String getUserDefinedLabel() throws IOException {
|
public String getUserDefinedLabel() throws IOException {
|
||||||
for (Entry<String, String> it : getUserDefinedArguments().entrySet()) {
|
for (Entry<String, String> it : getUserDefinedArguments().entrySet()) {
|
||||||
if (it.getKey().endsWith("label")) {
|
if (it.getKey().endsWith("label")) {
|
||||||
|
if (it.getValue().length() > 0) {
|
||||||
return it.getValue();
|
return it.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user