From c70d44187587364bcde762aa21aadd68a14dd10e Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 12 Apr 2016 15:50:06 +0000 Subject: [PATCH] Parse department as well --- source/net/filebot/web/TMDbClient.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/web/TMDbClient.java b/source/net/filebot/web/TMDbClient.java index 35203598..82175fbd 100644 --- a/source/net/filebot/web/TMDbClient.java +++ b/source/net/filebot/web/TMDbClient.java @@ -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 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; }