flexget.components.tmdb.api_tmdb module#
- class flexget.components.tmdb.api_tmdb.ApiTmdb[source]#
Bases:
objectDoes lookups to TMDb and provides movie information. Caches lookups.
- static lookup(*args, **kwargs)#
- class flexget.components.tmdb.api_tmdb.TMDBBackdrop(**kwargs)[source]#
Bases:
TMDBImage- _sa_class_manager = {'aspect_ratio': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'file_path': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'height': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_3166_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_639_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'type': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_average': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_count': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'width': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- aspect_ratio#
- file_path#
- height#
- id#
- iso_3166_1#
- iso_639_1#
- movie_id#
- type#
- vote_average#
- vote_count#
- width#
- class flexget.components.tmdb.api_tmdb.TMDBConfig[source]#
Bases:
VersionedBase- _configuration#
- _sa_class_manager = {'_configuration': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'configuration': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'updated': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- configuration#
- property expired#
- id#
- updated#
- class flexget.components.tmdb.api_tmdb.TMDBGenre(**kwargs)[source]#
Bases:
VersionedBase- _sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- id#
- name#
- class flexget.components.tmdb.api_tmdb.TMDBImage(**kwargs)[source]#
Bases:
VersionedBase- _sa_class_manager = {'aspect_ratio': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'file_path': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'height': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_3166_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_639_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'type': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_average': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_count': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'width': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- aspect_ratio#
- file_path#
- height#
- id#
- iso_3166_1#
- iso_639_1#
- movie_id#
- type#
- vote_average#
- vote_count#
- width#
- class flexget.components.tmdb.api_tmdb.TMDBMovie(id, language)[source]#
Bases:
VersionedBase- _backdrops#
- _genres#
- _posters#
- _sa_class_manager = {'_backdrops': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, '_genres': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, '_posters': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'adult': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'alternative_name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'budget': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'homepage': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'imdb_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'language': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'lookup_language': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'original_name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'overview': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'popularity': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'rating': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'released': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'revenue': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'runtime': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'tagline': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'updated': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'votes': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- adult#
- alternative_name#
- property backdrops#
- budget#
- genres = ColumnAssociationProxyInstance(AssociationProxy('_genres', 'name'))#
- homepage#
- id#
- imdb_id#
- language#
- lookup_language#
- name#
- original_name#
- overview#
- popularity#
- property posters#
- rating#
- released#
- revenue#
- runtime#
- tagline#
- updated#
- url#
- votes#
- year#
- class flexget.components.tmdb.api_tmdb.TMDBPoster(**kwargs)[source]#
Bases:
TMDBImage- _sa_class_manager = {'aspect_ratio': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'file_path': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'height': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_3166_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'iso_639_1': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'type': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_average': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'vote_count': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'width': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- aspect_ratio#
- file_path#
- height#
- id#
- iso_3166_1#
- iso_639_1#
- movie#
- movie_id#
- type#
- vote_average#
- vote_count#
- width#
- class flexget.components.tmdb.api_tmdb.TMDBSearchResult(search, movie_id=None, movie=None)[source]#
Bases:
VersionedBase- _sa_class_manager = {'movie': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'search': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- movie#
- movie_id#
- search#