flexget.components.managed_lists.lists.couchpotato_list module#

class flexget.components.managed_lists.lists.couchpotato_list.CouchPotatoBase[source]#

Bases: object

static add_movie(config, entry, test_mode=None)[source]#
static build_url(base_url, request_type, port, api_key)[source]#
static get_json(url)[source]#
static list_entries(config, test_mode=None)[source]#
static movie_add_request(base_url, port, api_key)[source]#
static movie_delete_request(base_url, port, api_key)[source]#
static movie_list_request(base_url, port, api_key)[source]#
static profile_list_request(base_url, port, api_key)[source]#
static quality_requirement_builder(quality_profile)[source]#

Convert CP’s quality profile to a format that can be converted to FlexGet QualityRequirement.

static remove_movie(config, movie_id, test_mode=None)[source]#
class flexget.components.managed_lists.lists.couchpotato_list.CouchPotatoList[source]#

Bases: object

static get_list(config)[source]#
on_task_input(task, config)[source]#
schema = {'additionalProperties': False, 'properties': {'api_key': {'type': 'string'}, 'base_url': {'type': 'string'}, 'include_data': {'default': False, 'type': 'boolean'}, 'port': {'default': 80, 'type': 'number'}}, 'required': ['api_key', 'base_url'], 'type': 'object'}#
class flexget.components.managed_lists.lists.couchpotato_list.CouchPotatoSet(config)[source]#

Bases: MutableSet

_find_entry(entry)[source]#
add(entry)[source]#

Add an element.

discard(entry)[source]#

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

get(entry)[source]#
_abc_impl = <_abc._abc_data object>#
property immutable#
property movies#
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': {'api_key': {'type': 'string'}, 'base_url': {'type': 'string'}, 'include_data': {'default': False, 'type': 'boolean'}, 'port': {'default': 80, 'type': 'number'}}, 'required': ['api_key', 'base_url'], 'type': 'object'}#
supported_ids = ['couchpotato_id', 'imdb_id', 'tmdb_id']#
flexget.components.managed_lists.lists.couchpotato_list.register_plugin()[source]#