flexget.plugins.filter.delay module#
- class flexget.plugins.filter.delay.DelayedEntry(**kwargs)[source]#
Bases:
VersionedBase- _json#
- _sa_class_manager = {'_json': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'entry': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'expire': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'task': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- entry#
- expire#
- id#
- task#
- title#
- class flexget.plugins.filter.delay.FilterDelay[source]#
Bases:
objectAdd delay to a task. This is useful for de-prioritizing expensive / bad-quality tasks.
Format: n [minutes|hours|days|weeks]
Example:
delay: 2 hours
- on_task_input(task, config)[source]#
Capture the current input then replaces it with entries that have passed the delay.
- schema = {'format': 'interval', 'type': 'string'}#