flexget.plugins.operate.sleep module#

class flexget.plugins.operate.sleep.PluginSleep[source]#

Bases: object

Cause a pause in execution to occur at the beginning of the specified phase of a task.

The point at which the pause occurs can be adjusted using the plugin_priority plugin.

do_sleep(config, phase)[source]#
on_task_abort(task, config)[source]#
on_task_download(task, config)[source]#
on_task_exit(task, config)[source]#
on_task_filter(task, config)[source]#
on_task_input(task, config)[source]#
on_task_learn(task, config)[source]#
on_task_metainfo(task, config)[source]#
on_task_modify(task, config)[source]#
on_task_output(task, config)[source]#
on_task_start(task, config)[source]#
schema = {'oneOf': [{'additionalProperties': False, 'properties': {'phase': {'default': 'start', 'enum': ['start', 'input', 'metainfo', 'filter', 'download', 'modify', 'output', 'learn', 'abort', 'exit'], 'type': 'string'}, 'seconds': {'type': 'integer'}}, 'required': ['seconds'], 'type': 'object'}, {'type': 'integer'}]}#
flexget.plugins.operate.sleep.register_plugin()[source]#