mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
Refactor MovieInfo
This commit is contained in:
parent
a573b0d902
commit
3bc8c904d7
@ -470,10 +470,6 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
|
||||
return get(MovieProperty.overview);
|
||||
}
|
||||
|
||||
public boolean isAdult() {
|
||||
return get(MovieProperty.adult, Boolean::valueOf);
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return get(MovieProperty.id, Integer::new);
|
||||
}
|
||||
@ -514,10 +510,6 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
|
||||
return get(MovieProperty.homepage, URL::new);
|
||||
}
|
||||
|
||||
public URL getPoster() {
|
||||
return get(MovieProperty.poster_path, URL::new);
|
||||
}
|
||||
|
||||
public List<String> getGenres() {
|
||||
return unmodifiableList(asList(genres));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user