flexget.plugins.filter.age module#
- class flexget.plugins.filter.age.Age[source]#
Bases:
objectRejects/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’
- schema = {'additionalProperties': False, 'properties': {'action': {'enum': ['accept', 'reject'], 'type': 'string'}, 'age': {'format': 'interval', 'type': 'string'}, 'field': {'type': 'string'}}, 'required': ['field', 'action', 'age'], 'type': 'object'}#