Automation add some minimal check options

This commit is contained in:
Ruud
2012-01-25 15:45:56 +01:00
parent b502b90158
commit e14be4499c
2 changed files with 56 additions and 2 deletions
@@ -3,4 +3,34 @@ from .main import Automation
def start():
return Automation()
config = []
config = [{
'name': 'automation',
'groups': [
{
'tab': 'automation',
'name': 'automation',
'label': 'Automation',
'description': 'Enable automatic movie adding',
'options': [
{
'name': 'year',
'default': 2011,
'Label': 'Minimal year',
'type': 'int',
},
{
'name': 'votes',
'default': 1000,
'Label': 'Minimal votes',
'type': 'int',
},
{
'name': 'rating',
'default': 6.0,
'Label': 'Minimal rating',
'type': 'float',
},
],
},
],
}]