mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
Easy access for TheMovieDB {info.adult} property
This commit is contained in:
parent
5c7a6af77f
commit
773c5d447d
@ -90,6 +90,10 @@ public class MovieInfo implements Crew, Serializable {
|
|||||||
return get(Property.certification); // e.g. PG-13
|
return get(Property.certification); // e.g. PG-13
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isAdult() {
|
||||||
|
return get(Property.adult, Boolean::parseBoolean);
|
||||||
|
}
|
||||||
|
|
||||||
public String getTagline() {
|
public String getTagline() {
|
||||||
return get(Property.tagline);
|
return get(Property.tagline);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user