hyperion.ng/effects/schema/gif.schema.json

99 lines
1.8 KiB
JSON
Raw Normal View History

{
"type":"object",
"script" : "gif.py",
"title":"edt_eff_gif_header",
"required":true,
"properties": {
"imageSource": {
"type": "string",
"title": "edt_eff_image_source",
"format": "radio",
"enum": ["url", "file"],
"options" : {
"enum_titles" : ["edt_eff_image_source_url", "edt_eff_image_source_file"]
},
"propertyOrder" : 1
},
"url": {
"type": "string",
"title":"edt_eff_url",
"default": "",
"options": {
"dependencies": {
"imageSource": "url"
}
},
"propertyOrder" : 2
},
"file": {
"type": "string",
"title":"edt_eff_image",
"format" : "url",
"options" :
{
"upload" : true,
"auto_upload" : true,
"dependencies": {
"imageSource": "file"
}
},
"default": "",
"propertyOrder" : 3
},
"cropLeft": {
"type": "integer",
"title":"edt_conf_v4l2_cropLeft_title",
"default": 0,
"minimum" : 0,
"step" : 1,
"propertyOrder" : 4
},
"cropTop": {
"type": "integer",
"title":"edt_conf_v4l2_cropTop_title",
"default": 0,
"minimum" : 0,
"step" : 1,
"propertyOrder" : 5
},
"cropRight": {
"type": "integer",
"title":"edt_conf_v4l2_cropRight_title",
"default": 0,
"minimum" : 0,
"step" : 1,
"propertyOrder" : 6
},
"cropBottom": {
"type": "integer",
"title":"edt_conf_v4l2_cropBottom_title",
"default": 0,
"minimum" : 0,
"step" : 1,
"propertyOrder" : 7
},
"grayscale": {
"type": "boolean",
"title":"edt_eff_grayscale",
"default": false,
"propertyOrder" : 8
},
"fps": {
"type": "integer",
"title":"edt_eff_fps",
"default": 25,
"minimum" : 1,
"maximum" : 100,
"step" : 1,
"propertyOrder" : 9
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 10
}
},
"additionalProperties": false
}