flexget.plugins.filter.age module#

class flexget.plugins.filter.age.Age[source]#

Bases: object

Rejects/accepts entries based on date in specified entry field.

Example:
age:

field: ‘accessed’ # ‘accessed’ is a field set from filesystem plugin age: ‘7 days’ action: ‘accept’

on_task_filter(task, config)[source]#
schema = {'additionalProperties': False, 'properties': {'action': {'enum': ['accept', 'reject'], 'type': 'string'}, 'age': {'format': 'interval', 'type': 'string'}, 'field': {'type': 'string'}}, 'required': ['field', 'action', 'age'], 'type': 'object'}#
flexget.plugins.filter.age.register_plugin()[source]#