configtemplates
struct[] configtemplates(bool LoadFromDisk)
Returns NZBGet configuration file template and also extracts configuration sections from all post-processing files. This information is for example used by web-interface to build settings page or page Postprocess
in download details dialog.
(bool)
- v15.0
true
- load templates from disk, false
- give templates loaded on program start.v23.0
This method returns array of structures with a field:
(string)
- Content of the configuration template (multiple lines).v23.0
This method returns array of structures with following fields:
(string)
- Post-processing script name. For example videosort/VideoSort.py
. This field is empty in the first record, which holds the config template of the program itself.(string)
- Nice script name ready for displaying. For example VideoSort
.(bool)
- true
for post-processing scripts.(bool)
- true
for scan scripts.(bool)
- true
for queue scripts.(bool)
- true
for scheduler scripts.(string)
- Content of the configuration template (multiple lines).