1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

Parse department as well

This commit is contained in:
Reinhard Pointner 2016-04-12 15:50:06 +00:00
parent d4a8faec89
commit c70d441875

View File

@ -582,7 +582,7 @@ public class TMDbClient implements MovieIdentificationService {
public static class Person implements Serializable {
public static enum PersonProperty {
name, character, job
name, character, job, department
}
protected Map<PersonProperty, String> fields;
@ -623,6 +623,10 @@ public class TMDbClient implements MovieIdentificationService {
return get(PersonProperty.job);
}
public String getDepartment() {
return get(PersonProperty.department);
}
public boolean isActor() {
return getJob() == null;
}