flexget.components.imdb.imdb module#
- class flexget.components.imdb.imdb.FilterImdb[source]#
Bases:
objectAllow filtering based on IMDB score, votes and genres etc.
Note: All parameters are optional. Some are mutually exclusive.
Configuration:
min_score: <num> min_votes: <num> min_meta_score: <num> min_year: <num> max_year: <num> # accept movies with any of these genres accept_genres: - genre1 - genre2 # reject if genre contains any of these reject_genres: - genre1 - genre2 # reject if language contain any of these reject_languages: - language1 # accept only these primary languages accept_languages: - language1 # accept movies with any of these actors accept_actors: - nm0004695 - nm0004754 # reject movie if it has any of these actors reject_actors: - nm0001191 - nm0002071 # accept all movies by these directors accept_directors: - nm0000318 # reject movies by these directors reject_directors: - nm0093051 # accept all movies by these writers accept_writers: - nm0000318 # reject movies by these writers reject_writers: - nm0093051 # reject movies/TV shows with any of these ratings reject_mpaa_ratings: - PG_13 - R - X # accept movies/TV shows with only these ratings accept_mpaa_ratings: - PG - G - TV_Y
- schema = {'additionalProperties': False, 'properties': {'accept_actors': {'items': {'type': 'string'}, 'type': 'array'}, 'accept_directors': {'items': {'type': 'string'}, 'type': 'array'}, 'accept_genres': {'items': {'type': 'string'}, 'type': 'array'}, 'accept_languages': {'items': {'type': 'string'}, 'type': 'array'}, 'accept_mpaa_ratings': {'items': {'type': 'string'}, 'type': 'array'}, 'accept_writers': {'items': {'type': 'string'}, 'type': 'array'}, 'max_year': {'type': 'integer'}, 'min_meta_score': {'type': 'integer'}, 'min_score': {'type': 'number'}, 'min_votes': {'type': 'integer'}, 'min_year': {'type': 'integer'}, 'reject_actors': {'items': {'type': 'string'}, 'type': 'array'}, 'reject_directors': {'items': {'type': 'string'}, 'type': 'array'}, 'reject_genres': {'items': {'type': 'string'}, 'type': 'array'}, 'reject_languages': {'items': {'type': 'string'}, 'type': 'array'}, 'reject_mpaa_ratings': {'items': {'type': 'string'}, 'type': 'array'}, 'reject_writers': {'items': {'type': 'string'}, 'type': 'array'}}, 'type': 'object'}#