flexget.components.imdb.db module#

class flexget.components.imdb.db.Actor(imdb_id, name=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'imdb_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
imdb_id: Mapped[str | None]#
movies: Mapped[list[Movie]]#
name: Mapped[str | None]#
class flexget.components.imdb.db.Director(imdb_id, name=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'imdb_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
imdb_id: Mapped[str | None]#
movies: Mapped[list[Movie]]#
name: Mapped[str | None]#
class flexget.components.imdb.db.Genre(name)[source]#

Bases: VersionedBase

Parameters:

name (Mapped[str | None])

_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
movies: Mapped[list[Movie]]#
name: Mapped[str | None]#
class flexget.components.imdb.db.Language(name)[source]#

Bases: VersionedBase

Parameters:

name (Mapped[str | None])

_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
name: Mapped[str | None]#
class flexget.components.imdb.db.Movie(**kwargs)[source]#

Bases: VersionedBase

_countries: Mapped[str | None]#
_sa_class_manager = {'_countries': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'actors': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'countries': <sqlalchemy.orm.attributes._create_proxied_attribute.<locals>.Proxy object>, 'directors': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'genres': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'languages': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'meta_score': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'mpaa_rating': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'original_title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'photo': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'plot_keywords': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'plot_outline': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'score': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'updated': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'votes': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'writers': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'year': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
actors: Mapped[list[Actor]]#
countries#
directors: Mapped[list[Director]]#
property expired#
Returns:

True if movie details are considered to be expired, ie. need of update

genres: Mapped[list[Genre]]#
id: Mapped[int]#
property imdb_id#
languages: Mapped[list[MovieLanguage]]#
meta_score: Mapped[int | None]#
mpaa_rating: Mapped[str | None]#
original_title: Mapped[str | None]#
photo: Mapped[str | None]#
plot_keywords: Mapped[list[PlotKeyword]]#
plot_outline: Mapped[str | None]#
score: Mapped[float | None]#
title: Mapped[str | None]#
updated: Mapped[datetime | None]#
url: Mapped[str | None]#
votes: Mapped[int | None]#
writers: Mapped[list[Writer]]#
year: Mapped[int | None]#
class flexget.components.imdb.db.MovieLanguage(language, prominence=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'language': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'language_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'prominence': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
language: Mapped[Language]#
language_id: Mapped[int]#
movie_id: Mapped[int]#
prominence: Mapped[int | None]#
class flexget.components.imdb.db.PlotKeyword(name)[source]#

Bases: VersionedBase

Parameters:

name (Mapped[str | None])

_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
movies: Mapped[list[Movie]]#
name: Mapped[str | None]#
class flexget.components.imdb.db.SearchResult(title, url=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'fails': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'queried': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
fails: Mapped[bool | None]#
id: Mapped[int]#
property imdb_id#
queried: Mapped[datetime | None]#
title: Mapped[str | None]#
url: Mapped[str | None]#
class flexget.components.imdb.db.Writer(imdb_id, name=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'imdb_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
id: Mapped[int]#
imdb_id: Mapped[str | None]#
movies: Mapped[list[Movie]]#
name: Mapped[str | None]#