flexget.components.managed_lists.lists.radarr_list module#
- exception flexget.components.managed_lists.lists.radarr_list.RadarrMovieAlreadyExistsError[source]#
Bases:
Exception
- exception flexget.components.managed_lists.lists.radarr_list.RadarrRequestError(value, logger=<loguru.logger handlers=[(id=0, level=10, sink=<stderr>)]>, **kwargs)[source]#
Bases:
Exception
- class flexget.components.managed_lists.lists.radarr_list.RadarrAPIService(api_key, base_url, port=None)[source]#
Bases:
objectHandles all communication with the Radarr REST API.
- class flexget.components.managed_lists.lists.radarr_list.RadarrList[source]#
Bases:
objectList plugin for Radarr that also works as an input plugin.
- schema = {'additionalProperties': False, 'properties': {'api_key': {'type': 'string'}, 'base_url': {'type': 'string'}, 'include_data': {'default': False, 'type': 'boolean'}, 'monitored': {'default': True, 'type': 'boolean'}, 'only_monitored': {'default': True, 'type': 'boolean'}, 'only_use_cutoff_quality': {'default': False, 'type': 'boolean'}, 'port': {'default': 80, 'type': 'number'}, 'profile_id': {'default': 1, 'type': 'integer'}, 'tags': {'items': {'type': ['integer', 'string']}, 'type': 'array'}}, 'required': ['api_key', 'base_url'], 'type': 'object'}#
- class flexget.components.managed_lists.lists.radarr_list.RadarrSet(config)[source]#
Bases:
MutableSetAccesses the Radarr movies using the provided the config.
- _find_matching_entry(entry)[source]#
Find a movie by first checking against the ids of the provided entry, and if none matches, check by title name.
- Return type:
Entry | None
- _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.
- _get_movie_entries()[source]#
Return a collection of Entry instances that represents the entries in the Radarr movie list.
- _lookup_movie(title=None, imdb_id=None, tmdb_id=None)[source]#
Use Radarr’s API to lookup a movie, prioritizing IMDB/TMDB ids and as a last resort search for the title.
- _abc_impl = <_abc._abc_data object>#
- property immutable#
- property items#
Returns all items and only loads them all items when needed.
- property online#
- property tags#
Returns tag by id.
- flexget.components.managed_lists.lists.radarr_list.get_flexget_qualities(profile, cutoff_only=False)[source]#
- flexget.components.managed_lists.lists.radarr_list.radarr_quality_to_flexget_quality_req(radarr_quality)[source]#
Translate the provided Radarr quality string to a Flexget Requirement instance.
Return None if translation is unsuccessful
- flexget.components.managed_lists.lists.radarr_list.request_delete_json(url, headers)[source]#
Make a DELETE request and return the JSON response.
- flexget.components.managed_lists.lists.radarr_list.request_get_json(url, headers)[source]#
Make a GET request and return the JSON response.
- flexget.components.managed_lists.lists.radarr_list.request_post_json(url, headers, data)[source]#
Make a POST request and return the JSON response.