mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
Parse department as well
This commit is contained in:
parent
d4a8faec89
commit
c70d441875
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user