flexget.components.managed_lists.lists.imdb_list module#

class flexget.components.managed_lists.lists.imdb_list.IMDBListList(list_id, list_name, user_id)[source]#

Bases: VersionedBase

_sa_class_manager = {'list_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'list_name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'user_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
list_id#
list_name#
user_id#
class flexget.components.managed_lists.lists.imdb_list.IMDBListUser(user_name, user_id, cookies)[source]#

Bases: VersionedBase

_cookies#
_sa_class_manager = {'_cookies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'cookies': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'lists': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'user_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'user_name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
cookies#
lists#
user_id#
user_name#
class flexget.components.managed_lists.lists.imdb_list.ImdbEntrySet(config)[source]#

Bases: MutableSet

static _from_iterable(it)[source]#

Construct an instance of the class from any iterable input.

Must override this method if the class constructor signature does not accept an iterable for an input.

_add(entry)[source]#

Submit a new movie to imdb. (does not update cache).

add(entry)[source]#

Add an element.

authenticate()[source]#

Authenticate a session with IMDB, and grab any IDs needed for getting/modifying list.

discard(entry)[source]#

Remove an element. Do not raise an exception if absent.

get(entry)[source]#
get_user_id_and_hidden_value(cookies=None)[source]#
invalidate_cache()[source]#
parse_cookies(cookies)[source]#
parse_cookies_file(path)[source]#
_abc_impl = <_abc._abc_data object>#
property immutable#
property items#
property online#

Set the online status of the plugin.

Online plugin should be treated differently in certain situations, like test mode

schema = {'additionalProperties': False, 'properties': {'cookies': {'error_oneOf': 'Please use a dict with the cookies, a string in json format, or a path to the file', 'oneOf': [{'format': 'file', 'type': 'string'}, {'format': 'json', 'type': 'string'}, {'properties': {'at-main': {'type': 'string'}, 'ubid-main': {'type': 'string'}}, 'required': ['ubid-main', 'at-main'], 'type': 'object'}]}, 'force_language': {'default': 'en-us', 'type': 'string'}, 'list': {'type': 'string'}, 'login': {'type': 'string'}}, 'required': ['login', 'cookies', 'list'], 'type': 'object'}#
property session#
class flexget.components.managed_lists.lists.imdb_list.ImdbList[source]#

Bases: object

static get_list(config)[source]#
on_task_input(task, config)[source]#
schema = {'additionalProperties': False, 'properties': {'cookies': {'error_oneOf': 'Please use a dict with the cookies, a string in json format, or a path to the file', 'oneOf': [{'format': 'file', 'type': 'string'}, {'format': 'json', 'type': 'string'}, {'properties': {'at-main': {'type': 'string'}, 'ubid-main': {'type': 'string'}}, 'required': ['ubid-main', 'at-main'], 'type': 'object'}]}, 'force_language': {'default': 'en-us', 'type': 'string'}, 'list': {'type': 'string'}, 'login': {'type': 'string'}}, 'required': ['login', 'cookies', 'list'], 'type': 'object'}#
flexget.components.managed_lists.lists.imdb_list.register_plugin()[source]#