flexget.components.tmdb.tmdb_lookup module#

class flexget.components.tmdb.tmdb_lookup.PluginTmdbLookup[source]#

Bases: object

Retrieves tmdb information for entries.

Example:

tmdb_lookup: yes

lazy_loader(entry, language='en')[source]#

Do the lookup for this entry and populate the entry fields.

lookup(entry, language='en')[source]#

Populate all lazy fields to an Entry.

May be called by other plugins requiring tmdb info on an Entry

Parameters:

entry – Entry instance

on_task_metainfo(task, config)[source]#
field_map = {'imdb_id': 'imdb_id', 'movie_name': 'name', 'movie_year': 'year', 'tmdb_backdrops': <function PluginTmdbLookup.<lambda>>, 'tmdb_budget': 'budget', 'tmdb_genres': <function PluginTmdbLookup.<lambda>>, 'tmdb_homepage': 'homepage', 'tmdb_id': 'id', 'tmdb_name': 'name', 'tmdb_popularity': 'popularity', 'tmdb_posters': <function PluginTmdbLookup.<lambda>>, 'tmdb_rating': 'rating', 'tmdb_released': 'released', 'tmdb_revenue': 'revenue', 'tmdb_runtime': 'runtime', 'tmdb_tagline': 'tagline', 'tmdb_votes': 'votes', 'tmdb_year': 'year'}#
property movie_identifier#

Return the plugin main identifier type.

schema = {'oneOf': [{'type': 'boolean'}, {'properties': {'language': {'default': 'en', 'type': 'string'}}, 'type': 'object'}]}#
flexget.components.tmdb.tmdb_lookup.register_plugin()[source]#