Skip to content

Configuration

NNScripts edited this page Mar 28, 2013 · 1 revision

Scripts can be configured using the "settings.ini" file.
This file contains a "global" section and a section for each script (where available).

The "global" section contains the defaults used by all script.
For example if you do not want the scripts to output information to the screen, you can change the global "display" setting:

[global]
display = false

Each script section can have script specific settings or can overwrite default settings:

[remove_blacklist_releases]
display = true
limit = 48
remove = false

By default the settings.ini file contains all the possible script options.
Most options are provided as a comment ( ; in front of the line ).
These options are not required to set.

Limit settings

By default all scripts (which use a limit settings) will use the "Header Retention" set in your newznab installation as default limit.
The "Header Retention" settings can be found under "Admin" -> "Site edit" within your Newznab application.
On a default installation this is 1.5 day (36 hours).

This limit (which will be used to remove data older the x hours) can also be set in the settings.ini file in the script sections.
If set, the limit from the configuration file overwrites the default.

Clone this wiki locally