Codebase list nzbget / 95f1f80
* debian/nzbget.conf: - Add WebDir and ConfigTemplate to sample configuration (LP: #1576471) - Update sample configuration file Andreas Moog 7 years ago
2 changed file(s) with 158 addition(s) and 115 deletion(s). Raw diff Collapse all Expand all
00 nzbget (17.0+dfsg-1) UNRELEASED; urgency=medium
11
22 * New Upstream Release
3 * Add WebDir and ConfigTemplate to sample configuration (LP: #1576471)
3 * debian/nzbget.conf:
4 - Add WebDir and ConfigTemplate to sample configuration (LP: #1576471)
5 - Update sample configuration file
46
57 -- Andreas Moog <andreas.moog@warperbbs.de> Sun, 31 Jul 2016 15:13:43 +0200
68
0 # Sample configuration file for NZBGet
1 #
2 # On POSIX put this file to one of the following locations:
3 # ~/.nzbget
4 # /etc/nzbget.conf
5 # /usr/etc/nzbget.conf
6 # /usr/local/etc/nzbget.conf
7 # /opt/etc/nzbget.conf
8 #
9 # On Windows put this file in program's directory.
10 #
11 # You can also put the file into any location, if you specify the path to it
12 # using switch "-c", e.g:
13 # nzbget -c /home/user/myconfig.txt
14
15 # For quick start change the option MainDir and configure one news-server
0 # Configuration file for NZBGet
161
172
183 ##############################################################################
2813 #
2914 # If you want to distinguish between partially downloaded files and
3015 # completed downloads, use also option <InterDir>.
16 #
17 # It is allowed to enter multiple directories here by separating them with comma
18 # or semicolon. NZBGet checks how much free disk space is available in each
19 # directory (assuming all directories are located on different drives) and
20 # chooses the directory with the most free space.
3121 DestDir=${MainDir}/dst
3222
3323 # Directory to store intermediate files.
5040 # Directory for incoming nzb-files.
5141 #
5242 # If a new nzb-file is added to queue via web-interface or RPC-API, it
53 # is saved into this directory and then processed by pre-processing
43 # is saved into this directory and then processed by preprocessing
5444 # script (option <ScanScript>).
5545 #
5646 # This directory is also monitored for new nzb-files. If a new file
7969
8070 # Directory with post-processing and other scripts.
8171 #
72 # This option may contain multiple directories separated with commas or semicolons.
73 #
8274 # NOTE: For information on writing scripts visit http://nzbget.net/Extension_scripts.
8375 ScriptDir=${MainDir}/scripts
8476
128120 # available on program start.
129121 RequiredDir=
130122
123
131124 ##############################################################################
132125 ### NEWS-SERVERS ###
133126
167160 # Several servers with the same level may be defined, they have
168161 # the same priority.
169162 Server1.Level=0
163
164 # This is an optional non-reliable server (yes, no).
165 #
166 # Marking server as optional tells NZBGet to ignore this server if a
167 # connection to this server cannot be established. Normally NZBGet
168 # doesn't try upper-level servers before all servers on current level
169 # were tried. If a connection to server fails NZBGet waits until the
170 # server becomes available (it may try others from current level at this
171 # time). This is usually what you want to avoid exhausting of
172 # (costly) upper level servers if one of main servers is temporary
173 # unavailable. However, for less reliable servers you may prefer to ignore
174 # connection errors and go on with higher-level servers instead.
175 Server1.Optional=no
170176
171177 # Group of news server (0-99).
172178 #
258264
259265 # IP on which NZBGet server listen and which clients use to contact NZBGet.
260266 #
261 # It could be a dns-hostname (e. g. "mypc") or an ip-address (e. g. "192.168.1.2" or
267 # It could be a dns-hostname (e. g. "mypc") or an IP address (e. g. "192.168.1.2" or
262268 # "127.0.0.1"). An IP-address is more effective because does not require dns-lookup.
263269 #
264270 # Your computer may have multiple network interfaces and therefore multiple IP
296302
297303 # User name for restricted access.
298304 #
299 # Restricted user can control the program with few restrictions. He
300 # has access to web-interface and can see most program settings. He
301 # can not change program settings and can not view security related
302 # options or options provided by extension scripts.
305 # The restricted user can control the program with a few restrictions.
306 # They have access to the web-interface and can see most of the program
307 # settings. They however, can not change program settings, view security
308 # related options or options provided by extension scripts.
303309 #
304310 # Use this user to connect to NZBGet from other programs and web-sites.
305311 #
427433 # is usually supplied by nzb-site or by application accessing
428434 # NZBGet. Using Aliases you can match their categories with your owns.
429435 #
430 # Separate aliases with commas or semicolons. Use wildcard-characters
436 # Separate aliases with commas or semicolons. Use wildcard characters
431437 # * and ? for pattern matching.
432438 #
433439 # Example: TV - HD, TV - SD, TV*
475481 # [A:|A(options):|R:|Q:|O(options):|#] search-string
476482 #
477483 # A - declares Accept-rule. Rules are accept-rules by default, the
478 # "A:" can be imitted. If the feed item matches to the rule the
484 # "A:" can be omitted. If the feed item matches to the rule the
479485 # item is considered good and no further rules are checked.
480486 # R - declares Reject-rule. If the feed item matches to the rule the
481487 # item is considered bad and no further rules are checked.
531537 #
532538 # + - declares a positive term. Terms are positive by default,
533539 # the "+" can be omitted;
534 # - - declares a negative term. If the term succeed the feed
540 # - - declares a negative term. If the term succeeds the feed
535541 # item is ignored;
536542 # field - field to which apply the term. If not specified
537543 # the default field "title" is used;
559565 # Any newznab attribute (encoded as "newznab:attr" in the RSS feed) can
560566 # be used as search field with prefix "attr-", for example "attr-genre".
561567 #
562 # Text search (Command @) supports supports wildcard characters * (matches
568 # Text search (Command @) supports wildcard characters * (matches
563569 # any number of any characters), ? (matches any one character)
564570 # and # (matches one digit).
565571 # Text search is by default performed against words (word-search mode): the
587593 # http://nzbget.net/RSS.
588594 #Feed1.Filter=
589595
596 # How often to check for new items (minutes).
597 #
598 # Value "0" disables the automatic check of this feed.
599 #Feed1.Interval=15
600
590601 # Treat all items on first fetch as backlog (yes, no).
591602 #
592603 # yes - when the feed is fetched for the very first time (or after
593604 # changing of URL or filter) all existing items are ignored (marked
594 # as backlog). The items found on subsequentional fetches are processed;
605 # as backlog). The items found on subsequent fetches are processed;
595606 # no - all items are processed even on first fetch (or after
596607 # changing of URL or filter).
597608 #Feed1.Backlog=yes
598
599 # How often to check for new items (minutes).
600 #
601 # Value "0" disables the automatic check of this feed.
602 #Feed1.Interval=15
603609
604610 # Add nzb-files as paused (yes, no).
605611 #Feed1.PauseNzb=no
625631 # For more information see global option <FeedScript>.
626632 #Feed1.FeedScript=
627633
634
628635 ##############################################################################
629636 ### INCOMING NZBS ###
630637
654661 # 1) if history contains the same title (see below) with success status
655662 # the nzb-file is not added to queue;
656663 # 2) if download queue already contains the same title the nzb-file is
657 # added to queue for backup (if firt file fails);
664 # added to queue for backup (if the first file fails);
658665 # 3) if nzb-file contains duplicate entries. This helps to find errors
659666 # in bad nzb-files.
660667 #
667674 # duplicates are deleted from queue.
668675 #
669676 # NOTE: For automatic duplicate handling option <HealthCheck> must be
670 # set to "Delete" or "None". If it is set to "Pause" you will need to
677 # set to "Delete", "Park" or "None". If it is set to "Pause" you will need to
671678 # manually unpause another duplicate (if any exists in queue).
672679 #
673680 # NOTE: For more info on duplicates see http://nzbget.net/RSS.
704711 # download-jobs (nzb-files) itself. Download-jobs are always
705712 # continued regardless of that option.
706713 #
707 # Disabling this option may slighlty reduce disk access and is
714 # Disabling this option may slightly reduce disk access and is
708715 # therefore recommended on fast connections.
709716 ContinuePartial=yes
710717
812819 # How many retries should be attempted if a download error occurs (0-99).
813820 #
814821 # If download fails because of incomplete or damaged article or due to
815 # CRC-error the program tries to redownload the article from the same
822 # CRC-error the program tries to re-download the article from the same
816823 # news server as many times as defined in option <Retries>. If all
817824 # attempts fail the program tries another news server.
818825 #
877884 # Value "0" disables the check.
878885 DiskSpace=250
879886
880 # Delete already downloaded files from disk when nzb-file is deleted
881 # (yes, no).
882 #
883 # This option defines if downloaded files must be deleted when:
884 # 1) download of nzb-file is cancelled (deleted from queue);
885 # 2) history record with failure-status (par-failure or unpack-failure)
886 # is deleted from history.
887 DeleteCleanupDisk=yes
888
889887 # Delete source nzb-file when it is not needed anymore (yes, no).
890888 #
891889 # Enable this option for automatic deletion of source nzb-file from
897895 #
898896 # After download and post-processing the items are added to history where
899897 # their status can be checked and they can be post-processed again if
900 # neccessary.
898 # necessary.
901899 #
902900 # After expiring of defined period:
903901 #
904902 # If option <DupeCheck> is active the items become hidden and the amount
905903 # of data kept is significantly reduced (for better performance), only
906 # fields necessary for duplicate check are kept. The item remain in the
904 # fields necessary for duplicate check are kept. The item remains in the
907905 # hidden history (forever);
908906 #
909907 # If option <DupeCheck> is NOT active the items are removed from history.
927925 # days. Keeping of items for few days helps in situations when feed provider
928926 # has technical issues and may response with empty feeds (or with missing
929927 # items). When the technical issue is fixed the items may reappear in the
930 # feed causing the program to redownload items if they were not found in
928 # feed causing the program to re-download items if they were not found in
931929 # the feed history.
932930 FeedHistory=7
933931
944942 # via URL or fetching of RSS feeds and nzb-files from feeds) are performed
945943 # even if download is in paused state.
946944 UrlForce=yes
945
946 # Monthly download volume quota (megabytes).
947 #
948 # During download the quota is constantly monitored and the downloading
949 # is automatically stopped if the limit is reached. Once the next billing month
950 # starts the "quota reached"-status is automatically lifted and the downloading
951 # continues.
952 #
953 # Downloads with force-priority are processed regardless of quota status.
954 #
955 # Value "0" disables monthly quota check.
956 MonthlyQuota=0
957
958 # Day of month when the monthly quota starts (1-31).
959 QuotaStartDay=1
960
961 # Daily download volume quota (megabytes).
962 #
963 # See option <MonthlyQuota> for details.
964 #
965 # Value "0" disables daily quota check.
966 DailyQuota=0
947967
948968
949969 ##############################################################################
10021022 #
10031023 # Core-files are very helpful for debugging.
10041024 #
1005 # NOTE: Core-files may contain sensible data, like your login/password to
1025 # NOTE: Core-files may contain sensitive data, like your login/password to
10061026 # newsserver etc.
10071027 DumpCore=no
10081028
10131033 # to the log-file and by option "TaskX.Time" in the scheduler settings.
10141034 #
10151035 # The option is usually not needed if the time zone is set up correctly.
1016 # However, sometimes, especially when using a binary compiled on onother
1036 # However, sometimes, especially when using a binary compiled on another
10171037 # platform (cross-compiling) the conversion between system and local time
10181038 # may not work properly and requires adjustment.
10191039 #
10211041 # Example 1: set time correction to one hour: TimeCorrection=1;
10221042 # Example 2: set time correction to one hour and a half: TimeCorrection=90.
10231043 TimeCorrection=0
1024
1025 # See also option <LogFile> in section "PATHS"
10261044
10271045
10281046 ##############################################################################
10691087 # Time to execute the command (HH:MM).
10701088 #
10711089 # Multiple comma-separated values are accepted.
1072 # Asterix as hours-part means "every hour".
1090 # An asterisk placed in the hours location will run every hour.
10731091 #
10741092 # Examples: "08:00", "00:00,06:00,12:00,18:00", "*:00", "*:00,*:30".
10751093 #
11131131 # Some scheduler commands require additional parameters:
11141132 # DownloadRate - download rate limit to be set (kilobytes/sec).
11151133 # Example: 1000;
1116 # Script - list of scheduler scripts to execute. The scripts in
1117 # the list must be separated with commas or semicolons. Only
1118 # filenames without path must be used. All scripts must be
1119 # stored in directory pointed by option <ScriptDir>. For
1120 # more info see below;
1134 # Script - list of scheduler scripts to execute. The scripts in the
1135 # list must be separated with commas or semicolons. All
1136 # scripts must be stored in directory set by option
1137 # <ScriptDir> and paths relative to <ScriptDir> must be
1138 # entered here. For more info see below;
11211139 # Process - path to the program to execute and its parameters.
11221140 # Example: /home/user/fetch.sh.
11231141 # If filename or any parameter contains spaces it
11241142 # must be surrounded with single quotation
11251143 # marks. If filename/parameter contains single quotation marks,
1126 # each of them must be replaced with two single quotation
1144 # each of them must be replaced (escaped) with two single quotation
11271145 # marks and the resulting filename/parameter must be
11281146 # surrounded with single quotation marks.
11291147 # Example: '/home/user/download/my scripts/task process.sh' 'world''s fun'.
11861204 # the option <ParRepair> is enabled;
11871205 # Manual - par-check is skipped. One par2-file is always
11881206 # downloaded. If a damaged download is detected, all
1189 # par2-files are downloaded but neithet par-check nor par-repair
1207 # par2-files are downloaded but neither par-check nor par-repair
11901208 # take place. The download can be then repaired manually,
11911209 # eventually on another faster computer.
11921210 ParCheck=auto
12061224 #
12071225 # If option <ParCheck> is set to "Auto" or "Force" this option defines
12081226 # if the download must be repaired when needed. The option can be
1209 # disabled if computer does not have enough CPU power, since repairing
1210 # may take too much resources and time on a slow computers.
1227 # disabled if a computer does not have enough CPU power, since repairing
1228 # may consume too many resources and time on a slow computer.
12111229 ParRepair=yes
12121230
12131231 # What files should be scanned during par-verification (limited, extended,
12731291 # will ignore files matching this option and will not initiate
12741292 # repair. This avoids time costing repair for unimportant files.
12751293 #
1276 # NOTE: Files matching the option <ExtCleanupDisk> are ignored as well.
1277 #
12781294 # Example: .sfv, .nzb, .nfo
12791295 ParIgnoreExt=.sfv, .nzb, .nfo
12801296
1281 # What to do if download health drops below critical health (delete,
1297 # What to do if download health drops below critical health (delete, park,
12821298 # pause, none).
12831299 #
1284 # Delete - delete nzb-file from queue. If option <DeleteCleanupDisk>
1285 # is active the already downloaded files will be deleted too;
1300 # Delete - delete nzb-file from queue, also delete already downloaded files;
1301 # Park - move nzb-file to history, keep already downloaded files. Commands
1302 # "Download remaining files" and "Retry failed articles" are available
1303 # for this nzb;
12861304 # Pause - pause nzb-file;
12871305 # None - do nothing (continue download).
12881306 #
1289 # NOTE: For automatic duplicate handling option must be set to "Delete"
1290 # or "None". If it is set to "Pause" you will need to manually return
1291 # another duplicate to queue (if any exists in history). See also
1292 # option <DupeCheck>.
1293 #
1294 # NOTE: When option <ParScan> is set to "Dupe" the delete-action is performed
1307 # NOTE: For automatic duplicate handling option must be set to "Delete", "Park"
1308 # or "None". If it is set to "Pause" you will need to manually move another
1309 # duplicate from history to queue. See also option <DupeCheck>.
1310 #
1311 # NOTE: When option <ParScan> is set to "Dupe" the park-action is performed
12951312 # only if article completion is below 10% (empirical threshold). This is to
12961313 # improve efficiency of dupe par scan mode.
1297 HealthCheck=delete
1314 HealthCheck=park
12981315
12991316 # Maximum allowed time for par-repair (minutes).
13001317 #
13121329 # Value "0" means unlimited.
13131330 #
13141331 # NOTE: The option limits only the time required for repairing. It doesn't
1315 # affect the first stage of parcheck - verification of files. However the
1332 # affect the first stage of parcheck - verification of files. However, the
13161333 # verification speed is constant, it doesn't depend on files integrity and
13171334 # therefore it is not necessary to limit the time needed for the first stage.
13181335 ParTimeLimit=0
13271344 #
13281345 # NOTE: See also options <ScriptPauseQueue> and <UnpackPauseQueue>.
13291346 ParPauseQueue=no
1330
1331 # Cleanup download queue after successful check/repair (yes, no).
1332 #
1333 # Enable this option for automatic deletion of unneeded (paused) par-files
1334 # from download queue after successful check/repair.
1335 ParCleanupQueue=yes
13361347
13371348
13381349 ##############################################################################
13771388 # Switch "x" is added only if neither "x" nor "e" were defined in
13781389 # the option (this allows you to use switch "e" instead of "x"). switch
13791390 # "-o+" is added only if neither "-o+" nor "-o-" were defined
1380 # in the command line. All other paramaters are always added. Parameter
1391 # in the command line. All other parameters are always added. Parameter
13811392 # "-p-" is replaced with "-ppassword" if a password is set for nzb-file.
13821393 #
13831394 # Examples:
1384 # 1) ignore file attributes (pemissions):
1395 # 1) ignore file attributes (permissions):
13851396 # /usr/bin/unrar x -ai;
13861397 # 2) decrease priority of unrar-process:
13871398 # nice -n 19 unrar.
14141425 # extensions, file names or file masks containing wildcard
14151426 # characters * and ?.
14161427 #
1417 # Files listed here are also ignored by par-rename and par-check.
1418 #
1419 # NOTE: See also option <ParIgnoreExt>.
1420 #
14211428 # Example: .par2, .sfv
14221429 ExtCleanupDisk=.par2, .sfv, _brokenlog.txt
14231430
14341441 # passwords should be set per nzb-file in their post-processing settings.
14351442 UnpackPassFile=
14361443
1444
14371445 ##############################################################################
14381446 ### EXTENSION SCRIPTS ###
14391447
14401448 # Default list of post-processing scripts to execute after the download
14411449 # of nzb-file is completed and possibly par-checked/repaired and unpacked.
14421450 #
1443 # The scripts in the list must be separated with commas or semicolons. Only
1444 # filenames without path must be used. All scripts must be stored in directory
1445 # pointed by option <ScriptDir>.
1451 # The scripts in the list must be separated with commas or semicolons. All
1452 # scripts must be stored in directory set by option <ScriptDir> and
1453 # paths relative to <ScriptDir> must be entered here.
14461454 #
14471455 # Example: Cleanup.sh, Move.sh, EMail.py.
14481456 #
14701478 #
14711479 # NZBGet passes following arguments to post-processing script as environment
14721480 # variables:
1473 # NZBPP_DIRECTORY - path to destination dir for downloaded files;
1481 # NZBPP_DIRECTORY - path to destination directory for downloaded files;
14741482 # NZBPP_NZBNAME - user-friendly name of processed nzb-file as it is displayed
14751483 # by the program. The file path and extension are removed.
14761484 # If download was renamed, this parameter reflects the new name;
1477 # NZBPP_NZBFILENAME - name of processed nzb-file. It includes file extension and also
1478 # may include full path;
1485 # NZBPP_NZBFILENAME - original name of processed nzb-file. It includes file extension
1486 # and may include full path;
1487 # NZBPP_QUEUEDFILE - full filename of the queued (renamed) nzb-file;
14791488 # NZBPP_FINALDIR - final destination path if set by one of previous pp-scripts;
14801489 # NZBPP_CATEGORY - category assigned to nzb-file (can be empty string);
14811490 # NZBPP_DUPEKEY - duplicate key of nzb-file;
15471556 # or:
15481557 # echo "[NZB] FINALDIR=/path/to/moved/files";
15491558 #
1550 # Command "DIRECTORY" changes the destiantion path of the download and
1559 # Command "DIRECTORY" changes the destination path of the download and
15511560 # affects the scripts executed after the current script as well as the
15521561 # program code itself, for example the command "Post-process again"
15531562 # will work on new location. Command "FINALDIR" just sets a separate
15541563 # property of the download and should be used when the files are moved
1555 # into an existing directory containg other files to avoid the processing
1564 # into an existing directory containing other files to avoid the processing
15561565 # of those files by other scripts.
15571566 #
15581567 # To assign post-processing parameters:
15691578 # 93 - post-process successful (status = SUCCESS);
15701579 # 94 - post-process failed (status = FAILURE);
15711580 # 95 - post-process skipped (status = NONE). Use this code when you script
1572 # terminates immediateley without doing any job and when this is not
1581 # terminates immediately without doing any job and when this is not
15731582 # a failure termination;
15741583 # 92 - request NZBGet to do par-check/repair for current nzb-file.
15751584 #
15811590
15821591 # List of scan scripts to execute before a nzb-file is added to queue.
15831592 #
1584 # The scripts in the list must be separated with commas or semicolons. Only
1585 # filenames without path must be used. All scripts must be stored in directory
1586 # pointed by option <ScriptDir>.
1593 # The scripts in the list must be separated with commas or semicolons. All
1594 # scripts must be stored in directory set by option <ScriptDir> and
1595 # paths relative to <ScriptDir> must be entered here.
15871596 #
15881597 # The scripts are executed each time a new file is found in incoming
15891598 # directory (option <NzbDir>) or a file is received via RPC (web-interface,
16171626 #
16181627 # In addition to these arguments NZBGet passes all nzbget.conf-options
16191628 # as environment variables. These variables have prefix "NZBOP_" and
1620 # are written in UPPER CASE. For Example option "ParRepair" is passed as
1629 # are written in UPPER CASE. For , the option "ParRepair" is passed as
16211630 # environment variable "NZBOP_PARREPAIR". The dots in option names are
16221631 # replaced with underscores, for example "SERVER1_HOST". For options
16231632 # with predefined possible values (yes/no, etc.) the values are passed
16981707
16991708 # List of queue scripts to execute on queue events.
17001709 #
1701 # The scripts in the list must be separated with commas or semicolons. Only
1702 # filenames without path must be used. All scripts must be stored in directory
1703 # pointed by option <ScriptDir>.
1710 # The scripts in the list must be separated with commas or semicolons. All
1711 # scripts must be stored in directory set by option <ScriptDir> and
1712 # paths relative to <ScriptDir> must be entered here.
17041713 #
17051714 # The scripts are executed on certain queue events such as adding
17061715 # a new nzb-file to queue, etc.
17081717 # Example: DeleteQueueSamples.sh, NzbAddedNotify.py.
17091718 #
17101719 # The script can modify the files in download queue (for example
1711 # delete or pause all nfo, sfv, sample files) or do something else.
1720 # delete or pause all .nfo, .sfv, sample files) or do something else.
17121721 #
17131722 # INFO FOR DEVELOPERS:
17141723 # NOTE: This is a short documentation, for more information visit
17171726 # NZBGet passes following arguments to the queue script as environment
17181727 # variables:
17191728 # NZBNA_NZBNAME - name of nzb-group. This name can be used in calls
1720 # to nzbget edit-command using subswitch "-GN name";
1729 # to nzbget edit-command using the subswitch "-GN name";
17211730 # NZBNA_FILENAME - filename of the nzb-file. If the file was added
1722 # from nzb-directory this is the fullname with path.
1731 # from nzb-directory this is the full name with path.
17231732 # If the file was added via web-interface it contains
17241733 # only filename without path;
17251734 # NZBNA_EVENT - describes why the script was called:
17301739 # (before post-processing);
17311740 # NZB_DELETED - when nzb is deleted from queue (moved
17321741 # to history). See NZBNA_DELETESTATUS for details;
1742 # NZB_MARKED - when a history item is marked as good, bad or
1743 # success. See NZBNA_MARKSTATUS for details;
17331744 # URL_COMPLETED - after an URL download is completed
17341745 # and the downloaded file was not added to queue
17351746 # (not nzb-extension, download error, parse
17371748 # In the future the list of supported events may be
17381749 # extended. To avoid conflicts with future NZBGet
17391750 # versions the script must exit if the parameter
1740 # has a value unknown to the script.
1751 # has a value unknown to the script;
1752 # NZBNA_QUEUEDFILE - full filename of the queued (renamed) nzb-file;
17411753 # NZBNA_DELETESTATUS - delete status info, NZBNA_EVENT=NZB_DELETED:
17421754 # MANUAL - deleted by user or via API call;
17431755 # HEALTH - deleted by health check;
17531765 # SCAN_SKIPPED - downloaded file doesn't have
17541766 # nzb-extension and was skipped;
17551767 # SCAN_FAILED - file format error;
1768 # NZBNA_MARKSTATUS - mark status info, NZBNA_EVENT=NZB_MARKED:
1769 # GOOD - marked as good by user or by a script;
1770 # BAD - marked as bad;
1771 # SUCCESS - marked as success;
17561772 # NZBNA_CATEGORY - category of nzb-file (if assigned);
17571773 # NZBNA_NZBID - id of the nzb-file. This ID can be used with
17581774 # calls to nzbget edit-command;
17631779 #
17641780 # In addition to these arguments NZBGet passes all nzbget.conf-options
17651781 # to the script as environment variables. These variables have prefix
1766 # "NZBOP_" and are written in UPPER CASE. For Example option "ParRepair"
1782 # "NZBOP_" and are written in UPPER CASE. For Example, the option "ParRepair"
17671783 # is passed as environment variable "NZBOP_PARREPAIR". The dots in option
17681784 # names are replaced with underscores, for example "SERVER1_HOST". For
17691785 # options with predefined possible values (yes/no, etc.) the values are
17811797 #
17821798 # To inform NZBGet about bad download:
17831799 # echo "[NZB] MARK=BAD";
1800 #
1801 # To set destination directory (only from event "NZB_DOWNLOADED"):
1802 # echo "[NZB] DIRECTORY=/destination/path/for/this/nzb";
17841803 #
17851804 # Examples of what the script can do:
17861805 # 1) pausing nzb-file using file-id:
17961815
17971816 # List of rss feed scripts to execute before a rss feed content is processed.
17981817 #
1799 # The scripts in the list must be separated with commas or semicolons. Only
1800 # filenames without path must be used. All scripts must be stored in directory
1801 # pointed by option <ScriptDir>.
1818 # The scripts in the list must be separated with commas or semicolons. All
1819 # scripts must be stored in directory set by option <ScriptDir> and
1820 # paths relative to <ScriptDir> must be entered here.
18021821 #
18031822 # If rss feed has option <FeedX.FeedScript> defined (if not empty)
18041823 # the scripts defined there override the global option <FeedScript>.
18321851 # with predefined possible values (yes/no, etc.) the values are passed
18331852 # always in lower case.
18341853 #
1854 # Return value: NZBGet processes the exit code returned by the script:
1855 # 93 - script successful (status = SUCCESS).
1856 # All other return codes are interpreted as failure (status = FAILURE).
1857 #
1858 # If the script doesn't end with SUCCESS-status the whole content of RSS
1859 # feed is ignored. This is to prevent accidental enqueuing of many
1860 # nzb-files if a feed script unexpectedly terminates before processing
1861 # of the feed.
1862 #
18351863 # NOTE: This is a short documentation, for more information visit
18361864 # http://nzbget.net/Extension_scripts.
18371865 FeedScript=
18421870 # order defined by this option. Scripts not listed here are executed at
18431871 # the end in their alphabetical order.
18441872 #
1845 # The scripts in the list must be separated with commas or semicolons. Only
1846 # filenames without path must be used. All scripts must be stored in directory
1847 # pointed by option <ScriptDir>.
1873 # The scripts in the list must be separated with commas or semicolons. All
1874 # scripts must be stored in directory set by option <ScriptDir> and
1875 # paths relative to <ScriptDir> must be entered here.
18481876 #
18491877 # Example: Cleanup.sh, Move.sh.
18501878 ScriptOrder=
18561884 #
18571885 # NOTE: See also options <ParPauseQueue> and <UnpackPauseQueue>.
18581886 ScriptPauseQueue=no
1887
1888 # Shell overrides for script interpreters.
1889 #
1890 # By default extension scripts are executed as normal programs. The system finds
1891 # an associated interpreter automatically. If for some reason that doesn't work
1892 # properly you can provide shell overrides here.
1893 #
1894 # This option contains a comma separated list of shell overrides per
1895 # file extension. A shell override consists of file extension (starting with
1896 # dot) followed by equal sign and the full path to script interpreter.
1897 #
1898 # Example: .py=/usr/bin/python2;.py3=/usr/bin/python3;.sh=/usr/bin/bash.
1899 ShellOverride=
18591900
18601901 # Minimum interval between calls of queue-scripts (seconds).
18611902 #