flexget.plugins.input.limit module#

class flexget.plugins.input.limit.PluginLimit[source]#

Bases: object

Limits the number of entries an input plugin can produce.

on_task_input(task, config)[source]#
schema = {'additionalProperties': False, 'properties': {'amount': {'minimum': -1, 'type': 'integer'}, 'from': {'allOf': [{'$ref': '/schema/plugins?phase=input'}, {'error_maxProperties': 'Plugin options within limit plugin must be indented 2 more spaces than the first letter of the plugin name.', 'maxProperties': 1, 'minProperties': 1}]}}, 'required': ['amount', 'from'], 'type': 'object'}#
flexget.plugins.input.limit.register_plugin()[source]#