flexget.plugins.internal.api_bluray module#

class flexget.plugins.internal.api_bluray.ApiBluray[source]#

Bases: object

Does lookups to Blu-ray.com and provides movie information. Caches lookups.

static lookup(title=None, year=None, only_cached=False, session=None)[source]#
Parameters:
class flexget.plugins.internal.api_bluray.BlurayGenre(**kwargs)[source]#

Bases: VersionedBase

_sa_class_manager = {'movies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
movies: Mapped[list[BlurayMovie]]#
name: Mapped[str]#
class flexget.plugins.internal.api_bluray.BlurayMovie(title, year)[source]#

Bases: VersionedBase

_genres: Mapped[list[BlurayGenre]]#
_sa_class_manager = {'_genres': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'bluray_rating': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'certification': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'country': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'overview': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'rating': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'release_date': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'runtime': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'studio': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'updated': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
bluray_rating: Mapped[int | None]#
certification: Mapped[str | None]#
country: Mapped[str | None]#
genres = ColumnAssociationProxyInstance(AssociationProxy('_genres', 'name'))#
id: Mapped[int]#
name: Mapped[str | None]#
overview: Mapped[str | None]#
rating: Mapped[float | None]#
release_date: Mapped[date | None]#
runtime: Mapped[int | None]#
studio: Mapped[str | None]#
updated: Mapped[datetime]#
url: Mapped[str | None]#
year#
class flexget.plugins.internal.api_bluray.BluraySearchResult(search, movie_id=None, movie=None)[source]#

Bases: VersionedBase

Parameters:
_sa_class_manager = {'movie': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'movie_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'search': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
movie: Mapped[BlurayMovie | None]#
movie_id: Mapped[int | None]#
search: Mapped[str]#
flexget.plugins.internal.api_bluray.bluray_request(endpoint, **params)[source]#
Return type:

Any

flexget.plugins.internal.api_bluray.extract_release_date(bluray_entry)[source]#
Parameters:

bluray_entry (dict[str, Any])

Return type:

date

flexget.plugins.internal.api_bluray.register_plugin()[source]#
Return type:

None