Add config options for plugins in web ui
This commit is contained in:
parent
65915c10e3
commit
7ff86427b3
|
@ -1917,6 +1917,54 @@ body = "ZM alarm detected - %EL% secs, %EF%/%EFA% frames, t%EST%/m%ESM%/a%ESA% s
|
|||
type => $types{string},
|
||||
category => "eyeZm",
|
||||
},
|
||||
{
|
||||
name => "ZM_PATH_PLUGINS",
|
||||
default => "@PLUGINSLIBDIR@",
|
||||
description => "Path to the plugin folder",
|
||||
help => "3d-party plugins have to be placed here.",
|
||||
type => $types{abs_path},
|
||||
category => "paths",
|
||||
},
|
||||
{
|
||||
name => "ZM_PLUGIN_EXTENSION",
|
||||
default => "@PLUGINSEXT@",
|
||||
description => "Default extension of plugins to found.",
|
||||
help => "Default extension of plugins to found.",
|
||||
type => $types{rel_path},
|
||||
category => "paths",
|
||||
},
|
||||
{
|
||||
name => "ZM_PLUGINS_CONFIG_PATH",
|
||||
default => "@SYSCONFDIR@/plugins.conf",
|
||||
description => "Path to the config file for plugins.",
|
||||
help => "Path to the config file for plugins.",
|
||||
type => $types{abs_path},
|
||||
category => "paths",
|
||||
},
|
||||
{
|
||||
name => "ZM_PLUGINS_CONFIG_DIR",
|
||||
default => "@PLUGINSCONFDIR@",
|
||||
description => "Path to the config folder for plugins.",
|
||||
help => "Path to the config folder for plugins.",
|
||||
type => $types{abs_path},
|
||||
category => "paths",
|
||||
},
|
||||
{
|
||||
name => "ZM_LOAD_PLUGINS",
|
||||
default => "no",
|
||||
description => "Load and use 3d-party plugins",
|
||||
help => "3d-party plugins will be loaded and used for analysing.",
|
||||
type => $types{boolean},
|
||||
category => "config",
|
||||
},
|
||||
{
|
||||
name => "ZM_TURNOFF_NATIVE_ANALYSIS",
|
||||
default => "no",
|
||||
description => "Turn native ZM\'s image analysis possibility off",
|
||||
help => "Image analysis with ZM\'s motion detected function will be turned off. Only detection functions from loaded plugins will be used. Note, that if no plugins have be loaded, no detection will be done.",
|
||||
type => $types{boolean},
|
||||
category => "config",
|
||||
},
|
||||
);
|
||||
|
||||
our %options_hash = map { ( $_->{name}, $_ ) } @options;
|
||||
|
|
Loading…
Reference in New Issue