mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
JSON Auto correction + hyperion schema split for better readability (#452)
* revoke schema split * add "getAutoCorrectedConfig" function * revoke schema split * revoke schema split * revoke schema split * Prevent compiler error if none grabber is available * revoke schema split * add "getAutoCorrectedConfig" function * revoke schema split * remove "configMigrator" * remove "configMigrator" * Change TestConfigFile to show how the autocorrection works * revoke schema split * revoke schema split * remove "ConfigMigrator" * remove "ConfigMigrator" * remove "ConfigMigratorBase" * remove "ConfigMigratorBase" * Add QJsonUtils.h * added ability "ignore-required" It has been added the ability to correct the configuration without having to pay attention to the keyword "required" in the hyperion schema * Allow Comments in Hyperion Schema * add ability to ignore the "required" keyword in hyperion schema * add ability to ignore the "required" keyword in hyperion schema * add ability to ignore the "required" keyword in hyperion schema * //Allow Comments in Hyperion Schema * Update jsonschema.py to version 0.8.0 to support ... references in json schema * add RefResolver from jsonschema.py to resolve references in hyperion schema * remove dupe code * split the hyperion schema in separatly files For better readability * add function "resolveReferences" to resolve references in hyperion schema. * remove CURRENT_CONFIG_VERSION * remove CURRENT_CONFIG_VERSION * split the hyperion schema in separatly files For better readability * Create schema-backgroundEffect.json * Add the rest of the Hyperion schema via upload * Remove Comments in config file * Add return variable to function writeJson(). fix function resolveReferences(). edit function load() to handle QPair result from schemaChecker. * edit function validate() to return QPair variable * fit function loadEffectDefinition() * fit function checkJson() * Expand error check by dividing "_error" variable in "_error" and "_schemaError". Replace variable "bool" in validate() in QPair * Extend function "cmd_cfg_set" to handle auto correction * Extend function "loadConfig" to handle auto correction * fix function loadConfig()
This commit is contained in:
committed by
brindosch
parent
622a171808
commit
5bd020a570
48
libsrc/hyperion/schema/schema-backgroundEffect.json
Normal file
48
libsrc/hyperion/schema/schema-backgroundEffect.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_bge_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"type" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_fge_type_title",
|
||||
"enum" : ["color", "effect"],
|
||||
"default" : "effect",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_color", "edt_conf_enum_effect"]
|
||||
},
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"color" :
|
||||
{
|
||||
"type" : "array",
|
||||
"format" : "colorpicker",
|
||||
"title" : "edt_conf_fge_color_title",
|
||||
"default" : [255,138,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"effect" :
|
||||
{
|
||||
"type" : "string",
|
||||
"format" : "select",
|
||||
"title" : "edt_conf_fge_effect_title",
|
||||
"propertyOrder" : 4
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
72
libsrc/hyperion/schema/schema-blackborderdetector.json
Normal file
72
libsrc/hyperion/schema/schema-blackborderdetector.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_bb_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"threshold" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_bb_threshold_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 100,
|
||||
"default" : 5,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"unknownFrameCnt" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_bb_unknownFrameCnt_title",
|
||||
"minimum" : 0,
|
||||
"default" : 600,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"borderFrameCnt" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_bb_borderFrameCnt_title",
|
||||
"minimum" : 0,
|
||||
"default" : 50,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"maxInconsistentCnt" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_bb_maxInconsistentCnt_title",
|
||||
"minimum" : 0,
|
||||
"default" : 10,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"blurRemoveCnt" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_bb_blurRemoveCnt_title",
|
||||
"minimum" : 0,
|
||||
"default" : 1,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"mode" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title": "edt_conf_bb_mode_title",
|
||||
"enum" : ["default", "classic", "osd"],
|
||||
"default" : "default",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_bbdefault", "edt_conf_enum_bbclassic", "edt_conf_enum_bbosd"]
|
||||
},
|
||||
"propertyOrder" : 7
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
33
libsrc/hyperion/schema/schema-boblightServer.json
Normal file
33
libsrc/hyperion/schema/schema-boblightServer.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_bobls_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"port" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_general_port_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"priority" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_general_priority_title",
|
||||
"minimum" : 100,
|
||||
"maximum" : 254,
|
||||
"default" : 201,
|
||||
"propertyOrder" : 3
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
257
libsrc/hyperion/schema/schema-color.json
Normal file
257
libsrc/hyperion/schema/schema-color.json
Normal file
@@ -0,0 +1,257 @@
|
||||
{
|
||||
"type":"object",
|
||||
"title" : "edt_conf_color_heading_title",
|
||||
"required" : true,
|
||||
"properties":
|
||||
{
|
||||
"imageToLedMappingType" :
|
||||
{
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_color_imageToLedMappingType_title",
|
||||
"enum" : ["multicolor_mean", "unicolor_mean"],
|
||||
"default" : "multicolor_mean",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_multicolor_mean", "edt_conf_enum_unicolor_mean"]
|
||||
},
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"channelAdjustment" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_channelAdjustment_header_title",
|
||||
"required" : true,
|
||||
"propertyOrder" : 3,
|
||||
"items" :
|
||||
{
|
||||
"type" : "object",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_color_channelAdjustment_header_itemtitle",
|
||||
"properties" :
|
||||
{
|
||||
"id" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_color_id_title",
|
||||
"required" : true,
|
||||
"default" : "A userdefined name",
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"leds" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_color_leds_title",
|
||||
"required" : true,
|
||||
"default" : "*",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"black" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_black_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [0,0,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"white" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_white_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [255,255,255],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"red" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_red_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [255,0,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"green" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_green_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [0,255,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"blue" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_blue_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [0,0,255],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 7
|
||||
},
|
||||
"cyan" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_cyan_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [0,255,255],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 8
|
||||
},
|
||||
"magenta" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_magenta_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [255,0,255],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"yellow" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_color_yellow_title",
|
||||
"format" : "colorpicker",
|
||||
"required" : true,
|
||||
"default": [255,255,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 10
|
||||
},
|
||||
"backlightThreshold" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_color_backlightThreshold_title",
|
||||
"required" : true,
|
||||
"minimum" : 0,
|
||||
"maximum": 100,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 11
|
||||
},
|
||||
"backlightColored" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_color_backlightColored_title",
|
||||
"required" : true,
|
||||
"default" : false,
|
||||
"propertyOrder" : 12
|
||||
},
|
||||
"brightness" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_color_brightness_title",
|
||||
"required" : true,
|
||||
"minimum" : 0,
|
||||
"maximum": 100,
|
||||
"default" : 100,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 13
|
||||
},
|
||||
"brightnessCompensation" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_color_brightnessComp_title",
|
||||
"required" : true,
|
||||
"minimum" : 0,
|
||||
"maximum": 100,
|
||||
"default" : 90,
|
||||
"append" : "edt_append_percent",
|
||||
"access" : "advanced",
|
||||
"propertyOrder" : 14
|
||||
},
|
||||
"gammaRed" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_color_gammaRed_title",
|
||||
"required" : true,
|
||||
"minimum" : 0.1,
|
||||
"maximum": 100.0,
|
||||
"default" : 1.5,
|
||||
"step" : 0.1,
|
||||
"propertyOrder" : 15
|
||||
},
|
||||
"gammaGreen" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_color_gammaGreen_title",
|
||||
"required" : true,
|
||||
"minimum" : 0.1,
|
||||
"maximum": 100.0,
|
||||
"default" : 1.5,
|
||||
"step" : 0.1,
|
||||
"propertyOrder" : 16
|
||||
},
|
||||
"gammaBlue" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_color_gammaBlue_title",
|
||||
"required" : true,
|
||||
"minimum" : 0.1,
|
||||
"maximum": 100.0,
|
||||
"default" : 1.5,
|
||||
"step" : 0.1,
|
||||
"propertyOrder" : 17
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
41
libsrc/hyperion/schema/schema-device.json
Normal file
41
libsrc/hyperion/schema/schema-device.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_dev_general_heading_title",
|
||||
"required" : true,
|
||||
"defaultProperties": ["ledCount","colorOrder","rewriteTime","minimumWriteTime"],
|
||||
"properties" :
|
||||
{
|
||||
"type" :
|
||||
{
|
||||
"type" : "string"
|
||||
},
|
||||
"ledCount" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"title" : "edt_dev_general_ledCount_title",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"colorOrder" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_dev_general_colorOrder_title",
|
||||
"enum" : ["rgb", "bgr", "rbg", "brg", "gbr", "grb"],
|
||||
"default" : "rgb",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_rgb", "edt_conf_enum_bgr", "edt_conf_enum_rbg", "edt_conf_enum_brg", "edt_conf_enum_gbr", "edt_conf_enum_grb"]
|
||||
},
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"rewriteTime": {
|
||||
"type": "integer",
|
||||
"title":"edt_dev_general_rewriteTime_title",
|
||||
"default": 1000,
|
||||
"append" : "edt_append_ms",
|
||||
"minimum": 0,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 4
|
||||
}
|
||||
},
|
||||
"additionalProperties" : true
|
||||
}
|
29
libsrc/hyperion/schema/schema-effects.json
Normal file
29
libsrc/hyperion/schema/schema-effects.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_effp_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"paths" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_effp_paths_title",
|
||||
"default" : ["../custom-effects"],
|
||||
"items" : {
|
||||
"type": "string",
|
||||
"title" : "edt_conf_effp_paths_itemtitle"
|
||||
},
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"disable" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_effp_disable_title",
|
||||
"items" : {
|
||||
"type": "string",
|
||||
"title" : "edt_conf_effp_disable_itemtitle"
|
||||
},
|
||||
"propertyOrder" : 2
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
57
libsrc/hyperion/schema/schema-foregroundEffect.json
Normal file
57
libsrc/hyperion/schema/schema-foregroundEffect.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_fge_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"type" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_fge_type_title",
|
||||
"enum" : ["color", "effect"],
|
||||
"default" : "effect",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_color", "edt_conf_enum_effect"]
|
||||
},
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"color" :
|
||||
{
|
||||
"type" : "array",
|
||||
"format" : "colorpicker",
|
||||
"title" : "edt_conf_fge_color_title",
|
||||
"default" : [255,0,0],
|
||||
"items" : {
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 255
|
||||
},
|
||||
"minItems" : 3,
|
||||
"maxItems" : 3,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"effect" :
|
||||
{
|
||||
"type" : "string",
|
||||
"format" : "select",
|
||||
"title" : "edt_conf_fge_effect_title",
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"duration_ms" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fge_duration_ms_title",
|
||||
"default" : 3000,
|
||||
"minimum" : 100,
|
||||
"append" : "edt_append_ms",
|
||||
"propertyOrder" : 5
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
36
libsrc/hyperion/schema/schema-forwarder.json
Normal file
36
libsrc/hyperion/schema/schema-forwarder.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_fw_heading_title",
|
||||
"required" : true,
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"json" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_fw_json_title",
|
||||
"required" : true,
|
||||
"items" : {
|
||||
"type": "string",
|
||||
"title" : "edt_conf_fw_json_itemtitle"
|
||||
},
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"proto" :
|
||||
{
|
||||
"type" : "array",
|
||||
"title" : "edt_conf_fw_proto_title",
|
||||
"items" : {
|
||||
"type": "string",
|
||||
"title" : "edt_conf_fw_proto_itemtitle"
|
||||
},
|
||||
"propertyOrder" : 3
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
132
libsrc/hyperion/schema/schema-framegrabber.json
Normal file
132
libsrc/hyperion/schema/schema-framegrabber.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_fg_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"type" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_fg_type_title",
|
||||
"enum" : ["auto","dispmanx","amlogic","x11","framebuffer"],
|
||||
"default" : "auto",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"width" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_width_title",
|
||||
"minimum" : 10,
|
||||
"default" : 80,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"height" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_height_title",
|
||||
"minimum" : 10,
|
||||
"default" : 45,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"frequency_Hz" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_frequency_Hz_title",
|
||||
"minimum" : 1,
|
||||
"default" : 10,
|
||||
"append" : "edt_append_hz",
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"priority" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_general_priority_title",
|
||||
"minimum" : 100,
|
||||
"maximum" : 254,
|
||||
"default" : 250,
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"cropLeft" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropLeft_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"cropRight" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropRight_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 7
|
||||
},
|
||||
"cropTop" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropTop_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 8
|
||||
},
|
||||
"cropBottom" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropBottom_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"useXGetImage" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_fg_useXGetImage_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 10
|
||||
},
|
||||
"horizontalPixelDecimation" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_horizontalPixelDecimation_title",
|
||||
"minimum" : 0,
|
||||
"default" : 8,
|
||||
"propertyOrder" : 11
|
||||
},
|
||||
"verticalPixelDecimation" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_verticalPixelDecimation_title",
|
||||
"minimum" : 0,
|
||||
"default" : 8,
|
||||
"propertyOrder" : 12
|
||||
},
|
||||
"device" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_fg_device_title",
|
||||
"default" : "/dev/fb0",
|
||||
"propertyOrder" : 13
|
||||
},
|
||||
"display" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_fg_display_title",
|
||||
"minimum" : 0,
|
||||
"propertyOrder" : 14
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
34
libsrc/hyperion/schema/schema-general.json
Normal file
34
libsrc/hyperion/schema/schema-general.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_gen_heading_title",
|
||||
"required" : true,
|
||||
"properties" :
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_gen_name_title",
|
||||
"default" : "My Hyperion Config",
|
||||
"minLength" : 4,
|
||||
"maxLength" : 20,
|
||||
"required" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"showOptHelp" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_gen_showOptHelp_title",
|
||||
"default" : true,
|
||||
"required" : true,
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"configVersion" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"default" : 2,
|
||||
"minimum" : 1,
|
||||
"access" : "system",
|
||||
"required" : true
|
||||
}
|
||||
}
|
||||
}
|
226
libsrc/hyperion/schema/schema-grabberV4L2.json
Normal file
226
libsrc/hyperion/schema/schema-grabberV4L2.json
Normal file
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"type":"array",
|
||||
"title" : "edt_conf_v4l2_heading_title",
|
||||
"minItems": 1,
|
||||
"maxItems": 2,
|
||||
"items":
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_v4l2_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"device" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_v4l2_device_title",
|
||||
"default" : "auto",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"input" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_input_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"standard" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_v4l2_standard_title",
|
||||
"enum" : ["PAL","NTSC"],
|
||||
"default" : "PAL",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_PAL", "edt_conf_enum_NTSC"]
|
||||
},
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"width" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_width_title",
|
||||
"minimum" : -1,
|
||||
"default" : -1,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"height" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_height_title",
|
||||
"minimum" : -1,
|
||||
"default" : -1,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"frameDecimation" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_frameDecimation_title",
|
||||
"minimum" : 0,
|
||||
"default" : 2,
|
||||
"propertyOrder" : 7
|
||||
},
|
||||
"sizeDecimation" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "Size decimation",
|
||||
"minimum" : 0,
|
||||
"default" : 6,
|
||||
"propertyOrder" : 8
|
||||
},
|
||||
"priority" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 100,
|
||||
"maximum" : 253,
|
||||
"title" : "edt_conf_general_priority_title",
|
||||
"default" : 240,
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"mode" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_v4l2_mode_title",
|
||||
"enum" : ["2D","3DSBS","3DTAB"],
|
||||
"default" : "2D",
|
||||
"propertyOrder" : 10
|
||||
},
|
||||
"useKodiChecker" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_v4l2_useKodiChecker_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 11
|
||||
},
|
||||
"cropLeft" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropLeft_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 12
|
||||
},
|
||||
"cropRight" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropRight_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 13
|
||||
},
|
||||
"cropTop" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropTop_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 14
|
||||
},
|
||||
"cropBottom" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_v4l2_cropBottom_title",
|
||||
"minimum" : 0,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_pixel",
|
||||
"propertyOrder" : 15
|
||||
},
|
||||
"signalDetection" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_v4l2_signalDetection_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 16
|
||||
},
|
||||
"redSignalThreshold" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_redSignalThreshold_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 17
|
||||
},
|
||||
"greenSignalThreshold" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_greenSignalThreshold_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.025,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 18
|
||||
},
|
||||
"blueSignalThreshold" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_blueSignalThreshold_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 19
|
||||
},
|
||||
"signalDetectionVerticalOffsetMin" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_signalDetectionVerticalOffsetMin_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 20
|
||||
},
|
||||
"signalDetectionVerticalOffsetMax" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_signalDetectionVerticalOffsetMax_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 21
|
||||
},
|
||||
"signalDetectionHorizontalOffsetMin" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_signalDetectionHorizontalOffsetMin_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 22
|
||||
},
|
||||
"signalDetectionHorizontalOffsetMax" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_v4l2_signalDetectionHorizontalOffsetMax_title",
|
||||
"minimum" : 0.0,
|
||||
"maximum" : 1.0,
|
||||
"default" : 0.1,
|
||||
"step" : 0.005,
|
||||
"append" : "edt_append_percent",
|
||||
"propertyOrder" : 23
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
||||
}
|
18
libsrc/hyperion/schema/schema-jsonServer.json
Normal file
18
libsrc/hyperion/schema/schema-jsonServer.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_js_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"port" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_general_port_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 19444
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
80
libsrc/hyperion/schema/schema-kodiVideoChecker.json
Normal file
80
libsrc/hyperion/schema/schema-kodiVideoChecker.json
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_kodic_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"kodiAddress" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_kodic_kodiAddress_title",
|
||||
"default" : "127.0.0.1",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"kodiTcpPort" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_kodic_kodiTcpPort_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 9090,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"grabVideo" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabVideo_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"grabPictures" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabPictures_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"grabAudio" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabAudio_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"grabMenu" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabMenu_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 7
|
||||
},
|
||||
"grabPause" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabPause_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 8
|
||||
},
|
||||
"grabScreensaver" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabScreensaver_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"enable3DDetection" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_enable3DDetection_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 10
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
80
libsrc/hyperion/schema/schema-ledConfig.json
Normal file
80
libsrc/hyperion/schema/schema-ledConfig.json
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"properties" :
|
||||
{
|
||||
"top" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 8
|
||||
},
|
||||
"bottom" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 8
|
||||
},
|
||||
"left" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 5
|
||||
},
|
||||
"right" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 5
|
||||
},
|
||||
"glength" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
},
|
||||
"gpos" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
},
|
||||
"position" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"default" : 0
|
||||
},
|
||||
"reverse" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"default" : false
|
||||
},
|
||||
"hdepth" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 1,
|
||||
"maximum" : 100,
|
||||
"default" : 8
|
||||
},
|
||||
"vdepth" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 1,
|
||||
"maximum" : 100,
|
||||
"default" : 5
|
||||
},
|
||||
"overlap" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"default" : 0
|
||||
},
|
||||
"edgegap" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0,
|
||||
"maximum" : 50,
|
||||
"default" : 0
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
70
libsrc/hyperion/schema/schema-leds.json
Normal file
70
libsrc/hyperion/schema/schema-leds.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"type":"array",
|
||||
"required":true,
|
||||
"items":
|
||||
{
|
||||
"type":"object",
|
||||
"properties":
|
||||
{
|
||||
"index":
|
||||
{
|
||||
"type":"integer",
|
||||
"required":true
|
||||
},
|
||||
"clone":
|
||||
{
|
||||
"type":"integer"
|
||||
},
|
||||
"hscan":
|
||||
{
|
||||
"type":"object",
|
||||
"properties":
|
||||
{
|
||||
"minimum":
|
||||
{
|
||||
"type":"number",
|
||||
"minimum" : 0,
|
||||
"maximum" : 1,
|
||||
"required":true
|
||||
},
|
||||
"maximum":
|
||||
{
|
||||
"type":"number",
|
||||
"minimum" : 0,
|
||||
"maximum" : 1,
|
||||
"required":true
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
},
|
||||
"vscan":
|
||||
{
|
||||
"type":"object",
|
||||
"properties":
|
||||
{
|
||||
"minimum":
|
||||
{
|
||||
"type":"number",
|
||||
"minimum" : 0,
|
||||
"maximum" : 1,
|
||||
"required":true
|
||||
},
|
||||
"maximum":
|
||||
{
|
||||
"type":"number",
|
||||
"minimum" : 0,
|
||||
"maximum" : 1,
|
||||
"required":true
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
},
|
||||
"colorOrder":
|
||||
{
|
||||
"type": "string",
|
||||
"enum" : ["rgb", "bgr", "rbg", "brg", "gbr", "grb"]
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
||||
}
|
18
libsrc/hyperion/schema/schema-logger.json
Normal file
18
libsrc/hyperion/schema/schema-logger.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_log_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"level" :
|
||||
{
|
||||
"type" : "string",
|
||||
"enum" : ["silent", "warn", "verbose", "debug"],
|
||||
"title" : "edt_conf_log_level_title",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_logsilent", "edt_conf_enum_logwarn", "edt_conf_enum_logverbose", "edt_conf_enum_logdebug"]
|
||||
},
|
||||
"default" : "warn"
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
18
libsrc/hyperion/schema/schema-protoServer.json
Normal file
18
libsrc/hyperion/schema/schema-protoServer.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_ps_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"port" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"required" : true,
|
||||
"title" : "edt_conf_general_port_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 19445
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
63
libsrc/hyperion/schema/schema-smoothing.json
Normal file
63
libsrc/hyperion/schema/schema-smoothing.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_smooth_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"type" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_smooth_type_title",
|
||||
"enum" : ["linear"],
|
||||
"default" : "linear",
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_conf_enum_linear"]
|
||||
},
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"time_ms" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_smooth_time_ms_title",
|
||||
"minimum" : 25,
|
||||
"maximum": 600,
|
||||
"default" : 200,
|
||||
"append" : "edt_append_ms",
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"updateFrequency" :
|
||||
{
|
||||
"type" : "number",
|
||||
"title" : "edt_conf_smooth_updateFrequency_title",
|
||||
"minimum" : 1.0,
|
||||
"maximum" : 100.0,
|
||||
"default" : 25.0,
|
||||
"append" : "edt_append_hz",
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"updateDelay" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_smooth_updateDelay_title",
|
||||
"minimum" : 0,
|
||||
"maximum": 2048,
|
||||
"default" : 0,
|
||||
"append" : "edt_append_ms",
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"continuousOutput" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_smooth_continuousOutput_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 6
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
56
libsrc/hyperion/schema/schema-udpListener.json
Normal file
56
libsrc/hyperion/schema/schema-udpListener.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_udpl_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"address" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_udpl_address_title",
|
||||
"default" : "239.255.28.01",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"port" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_general_port_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 2801,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"priority" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_general_priority_title",
|
||||
"minimum" : 100,
|
||||
"maximum" : 254,
|
||||
"default" : 200,
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"timeout" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_udpl_timeout_title",
|
||||
"minimum" : 1000,
|
||||
"default" : 10000,
|
||||
"append" : "edt_append_ms",
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"shared" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_udpl_shared_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 6
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
33
libsrc/hyperion/schema/schema-webConfig.json
Normal file
33
libsrc/hyperion/schema/schema-webConfig.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_webc_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : true,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"document_root" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_webc_docroot_title",
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"port" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_general_port_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 8099,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 3
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
Reference in New Issue
Block a user