Advertisement
Guest User

Untitled

a guest
May 12th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.79 KB | None | 0 0
  1. # Sample configuration file for nzbget
  2. #
  3. # On POSIX put this file to one of the following locations:
  4. # ~/.nzbget
  5. # /etc/nzbget.conf
  6. # /usr/etc/nzbget.conf
  7. # /usr/local/etc/nzbget.conf
  8. # /opt/etc/nzbget.conf
  9. #
  10. # On Windows put this file in program's directory.
  11. #
  12. # You can also put the file into any location, if you specify the path to it
  13. # using switch "-c", e.g:
  14. # nzbget -c /home/user/myconig.txt
  15.  
  16. # For quick start change the option MAINDIR and configure one news-server
  17.  
  18.  
  19. ##############################################################################
  20. ### PATHS ###
  21.  
  22. # Root directory for all related tasks.
  23. # MAINDIR is a variable and therefore starts with "$".
  24. # On POSIX you can use "~" as alias for home directory (e.g. "~/download").
  25. # On Windows use absolute paths (e.g. "C:\Download").
  26. $MAINDIR=C:\Downloads_2\download
  27.  
  28. # Destination-directory to store the downloaded files.
  29. DestDir=${MAINDIR}/dst
  30.  
  31. # Directory to monitor for incoming nzb-jobs.
  32. # Can have subdirectories.
  33. # A nzb-file queued from a subdirectory will be automatically assigned to
  34. # category with the directory-name.
  35. NzbDir=${MAINDIR}/nzb
  36.  
  37. # Directory to store download queue.
  38. QueueDir=${MAINDIR}/queue
  39.  
  40. # Directory to store temporary files.
  41. TempDir=${MAINDIR}/tmp
  42.  
  43. # Lock-file for daemon-mode, POSIX only.
  44. # If the option is not empty, nzbget creates the file and writes process-id
  45. # (PID) into it. That info can be used in shell scripts.
  46. LockFile=/tmp/nzbget.lock
  47.  
  48. # Where to store log file, if it needs to be created.
  49. # NOTE: See also option <CreateLog>.
  50. LogFile=${DestDir}/nzbget.log
  51.  
  52.  
  53. ##############################################################################
  54. ### NEWS-SERVERS ###
  55.  
  56. # This section defines which servers nzbget should connect to.
  57.  
  58. # Third server, on level 1.
  59.  
  60. Server0.Level=0
  61. Server0.Host=reader.ipv6.xsnews.nl
  62. Server0.Port=119
  63. Server0.Username=ipv6-4256
  64. Server0.Password=3fw7nfv4ks
  65. Server0.JoinGroup=yes
  66. Server0.Connections=5
  67.  
  68.  
  69. ##############################################################################
  70. ### PERMISSIONS ###
  71.  
  72. # User name for daemon-mode, POSIX only.
  73. # Set the user that the daemon normally runs at (POSIX in daemon-mode only).
  74. # Set $MAINDIR with an absolute path to be sure where it will write.
  75. # This allows nzbget daemon to be launched in rc.local (at boot), and
  76. # download items as a specific user id.
  77. # NOTE: This option has effect only if the program was started from
  78. # root-account, otherwise it is ignored and the daemon runs under
  79. # current user id.
  80. DaemonUserName=root
  81.  
  82. # Specify default umask (affects file permissions) for newly created
  83. # files, POSIX only (000-1000).
  84. # The value should be written in octal form (the same as for "umask" shell
  85. # command).
  86. # Empty value or value "1000" disable the setting of umask-mode; current
  87. # umask-mode (set via shell) is used in this case.
  88. UMask=1000
  89.  
  90.  
  91. ##############################################################################
  92. ### INCOMING NZBS ###
  93.  
  94. # Create subdirectory with category-name in destination-directory (yes, no).
  95. AppendCategoryDir=yes
  96.  
  97. # Create subdirectory with nzb-filename in destination-directory (yes, no).
  98. AppendNzbDir=yes
  99.  
  100. # How often incoming-directory (option <NzbDir>) must be checked for new
  101. # nzb-files (seconds).
  102. # Value "0" disables the check.
  103. NzbDirInterval=5
  104.  
  105. # How old nzb-file should at least be for it to be loaded to queue (seconds).
  106. # Nzbget checks if nzb-file was not modified in last few seconds, defined by
  107. # this option. That safety interval prevents the loading of files, which
  108. # were not yet completely saved to disk, for example if they are still being
  109. # downloaded in web-browser.
  110. NzbDirFileAge=60
  111.  
  112. # Set path to program, that must be executed before any file in incoming
  113. # directory (option <NzbDir>) is processed.
  114. # Example: "NzbProcess=~/nzbprocess.sh".
  115. # That program can unpack archives put in incoming directory, make
  116. # filename cleanup or something else.
  117. # Arguments passed to that program:
  118. # 1 - path to directory, where file is located. It is a directory specified
  119. # by the option <NzbDir> or a subdirectory inside it;
  120. # 2 - name of file to be processed;
  121. # The nzbprocess-script can delete processed file, rename it or move somewhere.
  122. # After the calling of the script the file will be either added to queue
  123. # (if it was an nzb-file) or renamed by adding the extension ".processed".
  124. # Unpacked files will be checked on next directory scan (see option
  125. # <NzbDirInterval>).
  126. # NOTE: Files with extensions ".processed", ".queued" and ".error" are skipped
  127. # during the directory scanning.
  128. # NOTE: Files with extension ".nzb_processed" are not passed to
  129. # NzbProcess-script before adding to queue. This feature allows
  130. # NzbProcess-script to perevnt the scanning of nzb-files extracted from
  131. # archives, if they were already processed by the script.
  132. #NzbProcess=
  133.  
  134. # Set the default message-kind for output received from nzbprocess-script
  135. # (none, detail, info, warning, error, debug).
  136. # NZBGet checks if the line written by the script to stdout or stderr starts
  137. # with special character-sequence, determining the message-kind, e.g.:
  138. # [INFO] bla-bla.
  139. # [DETAIL] bla-bla.
  140. # [WARNING] bla-bla.
  141. # [ERROR] bla-bla.
  142. # [DEBUG] bla-bla.
  143. # If the message-kind was detected the text is added to log with detected type.
  144. # Otherwise the message becomes the default kind, specified in this option.
  145. #NzbLogKind=detail
  146.  
  147. # Check for duplicate files (yes, no).
  148. # If this option is enabled the program checks by adding of a new nzb-file:
  149. # 1) if nzb-file contains duplicate entries. This check aims on detecting
  150. # of reposted files (if first file was not fully uploaded);
  151. # If the program find two files with identical names, only the
  152. # biggest of these files will be added to queue;
  153. # 2) if download queue already contains file with the same name;
  154. # 3) if destination file on disk already exists.
  155. # In last two cases: if the file exists it will not be added to queue;
  156. # If this option is disabled, all files are downloaded and duplicate files
  157. # are renamed to "filename_duplicate1".
  158. # Existing files are never deleted or overwritten.
  159. DupeCheck=yes
  160.  
  161.  
  162. ##############################################################################
  163. ### DOWNLOAD QUEUE ###
  164.  
  165. # Save download queue to disk (yes, no).
  166. # This allows to reload it on next start.
  167. SaveQueue=yes
  168.  
  169. # Reload download queue on start, if it exists (yes, no).
  170. ReloadQueue=yes
  171.  
  172. # Reload Post-processor-queue on start, if it exists (yes, no).
  173. # For this option to work the options <SaveQueue> and <ReloadQueue> must
  174. # be also enabled.
  175. ReloadPostQueue=yes
  176.  
  177. # Reuse articles saved in temp-directory from previous program start (yes, no).
  178. # This allows to continue download of file, if program was exited before
  179. # the file was completed.
  180. ContinuePartial=yes
  181.  
  182. # Visibly rename broken files on download appending "_broken" (yes, no).
  183. # Do not activate this option if par-check is enabled.
  184. RenameBroken=no
  185.  
  186. # Decode articles (yes, no).
  187. # yes - decode articles using internal decoder (supports yEnc and UU formats);
  188. # no - the articles will not be decoded and joined. External programs
  189. # (like "uudeview") can be used to decode and join downloaded articles.
  190. # Also useful for debugging to look at article's source text.
  191. Decode=yes
  192.  
  193. # Write decoded articles directly into destination output file (yes, no).
  194. # With this option enabled the program at first creates the output
  195. # destination file with required size (total size of all articles),
  196. # then writes on the fly decoded articles directly to the file
  197. # without creating of any temporary files, even for decoded articles.
  198. # This may results in major performance improvement, but this higly
  199. # depends on OS and filesystem used.
  200. # Can improve performance on a very fast internet connections,
  201. # but you need to test if it works in your case.
  202. # INFO: Tests showed, that on Linux with EXT3-partition activating of
  203. # this option results in up to 20% better performance, but on Windows with NTFS
  204. # or Linux with FAT32-partitions the performance were decreased.
  205. # The possible reason is that on EXT3-partition Linux can create large files
  206. # very fast (if the content of file does not need to be initialized),
  207. # but Windows on NTFS-partition and also Linux on FAT32-partition need to
  208. # initialize created large file with nulls, resulting in a big performace
  209. # degradation.
  210. # NOTE: for testing try to download few big files (with total size 500-1000MB)
  211. # and measure required time. Do not rely on the program's speed indicator.
  212. # NOTE: if both options <DirectWrite> and <ContinuePartial> are enabled,
  213. # the program will create empty articles-files in temp-directrory. They
  214. # are used to continue download of file on a next program start. To minimize
  215. # disk-io it is recommended to disable option <ContinuePartial>, if
  216. # <DirectWrite> is enabled. Especially on a fast connections (where you
  217. # would want to activate <DirectWrite>) it should not be a problem to
  218. # redownload the interrupted file.
  219. DirectWrite=no
  220.  
  221. # Check CRC of downloaded and decoded articles (yes, no).
  222. # Normally this option should be enabled for better detecting of download
  223. # errors. However checking of CRC needs about the same CPU time as
  224. # decoding of articles. On a fast connections with slow CPUs disabling of
  225. # CPU-check may slightly improve performance (if CPU is a limiting factor).
  226. CrcCheck=yes
  227.  
  228. # How much retries should be attempted if a download error occurs (0-99).
  229. Retries=4
  230.  
  231. # Set the interval between retries (seconds).
  232. RetryInterval=10
  233.  
  234. # Redownload article if CRC-check fails (yes, no).
  235. # Helps to minimize number of broken files, but may be effective
  236. # only if you have multiple download servers (even from the same provider
  237. # but from different locations (e.g. europe, usa)).
  238. # In any case the option increases your traffic.
  239. # For slow connections loading of extra par-blocks may be more effective
  240. # The option <CrcCheck> must be enabled for option <RetryOnCrcError> to work.
  241. RetryOnCrcError=no
  242.  
  243. # Set connection timeout (seconds).
  244. ConnectionTimeout=60
  245.  
  246. # Timeout until a download-thread should be killed (seconds).
  247. # This can help on hanging downloads, but is dangerous.
  248. # Do not use small values!
  249. TerminateTimeout=600
  250.  
  251. # Set the (approximate) maximum number of allowed threads (0-999).
  252. # Sometimes under certain circumstances the program may create way to many
  253. # download threads. Most of them are in wait-state. That is not bad,
  254. # but threads are usually a limited resource. If a program creates to many
  255. # of them, operating system may kill it. The option <ThreadLimit> prevents that.
  256. # NOTE: the number of threads is not the same as the number of connections
  257. # opened to NNTP-servers. Do not use the option <ThreadLimit> to limit the
  258. # number of connections. Use the appropriate options <ServerX.Connections>
  259. # instead.
  260. # NOTE: the actual number of created threads can be slightly larger as
  261. # defined by the option. Important threads may be created even if the
  262. # number of threads is exceeded. The option prevents only the creation of
  263. # additional download threads.
  264. # NOTE: in most cases you should leave the default value "100" unchanged.
  265. # However you may increase that value if you need more than 90 connections
  266. # (that's very unlikely) or decrease the value if the OS does not allow so
  267. # many threads. But the most OSes should not have problems with 100 threads.
  268. ThreadLimit=100
  269.  
  270. # Set the maximum download rate on program start (kilobytes/sec).
  271. # Value "0" means no speed control.
  272. # The download rate can be changed later via remote calls.
  273. DownloadRate=0
  274.  
  275. # Set the size of memory buffer used by writing the articles (bytes).
  276. # Bigger values decrease disk-io, but increase memory usage.
  277. # Value "0" causes the OS-dependend default value to be used.
  278. # With value "-1" (which means "max/auto") the program sets the size of
  279. # buffer according to the size of current article (typically less than 500K).
  280. # NOTE: the value must be written in bytes, do not use postfixes "K" or "M".
  281. # NOTE: to calculate the memory usage multiply WriteBufferSize by max number
  282. # of connections, configured in section "NEWS-SERVERS".
  283. # NOTE: typical article's size not exceed 500000 bytes, so using bigger values
  284. # (like several megabytes) will just waste memory.
  285. # NOTE: for desktop computers with large amount of memory value "-1" (max/auto)
  286. # is recommended, but for computers with very low memory (routers, NAS)
  287. # value "0" (default OS-dependend size) could be better alternative.
  288. # NOTE: write-buffer is managed by OS (system libraries) and therefore
  289. # the effect of the option is highly OS-dependend.
  290. WriteBufferSize=0
  291.  
  292. # Pause if disk space gets below this value (megabytes).
  293. # Value "0" disables the check.
  294. # Only the disk space on the drive with <DestDir> is checked.
  295. # The drive with <TempDir> is not checked.
  296. DiskSpace=250
  297.  
  298. # Delete already downloaded files from disk, if the download of nzb-file was
  299. # cancelled (nzb-file was deleted from queue) (yes, no).
  300. # NOTE: nzbget does not delete files in a case if all remaining files in
  301. # queue are par-files. That prevents the accidential deletetion if the option
  302. # <ParCleanupQueue> is disabled or if the program was interrupted during
  303. # parcheck and later restarted without reloading of post queue (option
  304. # <ReloadPostQueue> disabled).
  305. #DeleteCleanupDisk=no
  306.  
  307. ##############################################################################
  308. ### LOGGING ###
  309.  
  310. # Create log file (yes, no).
  311. CreateLog=no
  312.  
  313. # Delete log file upon server start (only in server-mode) (yes, no).
  314. ResetLog=no
  315.  
  316. # How error messages must be printed (screen, log, both, none).
  317. ErrorTarget=both
  318.  
  319. # How warning messages must be printed (screen, log, both, none).
  320. WarningTarget=both
  321.  
  322. # How info messages must be printed (screen, log, both, none).
  323. InfoTarget=both
  324.  
  325. # How detail messages must be printed (screen, log, both, none).
  326. DetailTarget=both
  327.  
  328. # How debug messages must be printed (screen, log, both, none).
  329. # Debug-messages can be printed only if the program was compiled in
  330. # debug-mode: "./configure --enable-debug".
  331. DebugTarget=both
  332.  
  333. # Number of messages stored in buffer and available for remote
  334. # clients (messages).
  335. LogBufferSize=1000
  336.  
  337. # Create a log of all broken files (yes ,no).
  338. # It is a text file placed near downloaded files, which contains
  339. # the names of broken files.
  340. CreateBrokenLog=yes
  341.  
  342. # Create memory dump (core-file) on abnormal termination, POSIX only (yes, no).
  343. # Core-files are very helpful for debugging.
  344. # NOTE: core-files may contain sensible data, like your login/password to
  345. # newsserver etc.
  346. DumpCore=no
  347.  
  348. # See also option <LogFile> in secion "PATHS"
  349.  
  350.  
  351. ##############################################################################
  352. ### DISPLAY (TERMINAL) ###
  353.  
  354. # Set screen-outputmode (loggable, colored, curses).
  355. # loggable - only messages will be printed to standard output;
  356. # colored - prints messages (with simple coloring for messages categories)
  357. # and download progress info; uses escape-sequenses to move cursor;
  358. # curses - advanced interactive iterface with the ability to edit
  359. # download queue and various output option.
  360. OutputMode=curses
  361.  
  362. # Shows NZB-Filename in file list in curses-outputmode (yes, no).
  363. # This option controls the initial state of curses-frontend,
  364. # it can be switched on/off in run-time with Z-key.
  365. CursesNzbName=yes
  366.  
  367. # Show files in groups (NZB-files) in queue list in curses-outputmode (yes, no).
  368. # This option controls the initial state of curses-frontend,
  369. # it can be switched on/off in run-time with G-key.
  370. CursesGroup=no
  371.  
  372. # Show timestamps in message list in curses-outputmode (yes, no).
  373. # This option controls the initial state of curses-frontend,
  374. # it can be switched on/off in run-time with T-key.
  375. CursesTime=no
  376.  
  377. # Update interval for Frontend-output in console mode or remote client
  378. # mode (milliseconds).
  379. # Min value 25. Bigger values reduce CPU usage (especially in curses-outputmode)
  380. # and network traffic in remote-client mode.
  381. UpdateInterval=200
  382.  
  383.  
  384. ##############################################################################
  385. ### CLIENT/SERVER COMMUNICATION ###
  386.  
  387. # IP on which the server listen and which client uses to contact the server.
  388. # It could be dns-hostname or ip-address (more effective since does not
  389. # require dns-lookup).
  390. # If you want the server to listen to all interfaces, use "0.0.0.0".
  391. ServerIp=127.0.0.1
  392.  
  393. # Port which the server & client use (1-65535).
  394. ServerPort=6789
  395.  
  396. # Password which the server & client use.
  397. ServerPassword=hassel14
  398.  
  399. # See also option <LogBufferSize> in section "LOGGING"
  400.  
  401.  
  402. ##############################################################################
  403. ### PAR CHECK/REPAIR ###
  404.  
  405. # How many par2-files to load (none, all, one).
  406. # none - all par2-files must be automatically paused;
  407. # all - all par2-files must be downloaded;
  408. # one - only one main par2-file must be dowloaded and other must be paused.
  409. # Paused files remain in queue and can be unpaused by parchecker when needed.
  410. LoadPars=one
  411.  
  412. # Automatic par-verification (yes, no).
  413. # To download only needed par2-files (smart par-files loading) set also
  414. # the option <LoadPars> to "one". If option <LoadPars> is set to "all",
  415. # all par2-files will be downloaded before verification and repair starts.
  416. # The option <RenameBroken> must be set to "no", otherwise the par-checker
  417. # may not find renamed files and fail.
  418. ParCheck=yes
  419.  
  420. # Automatic par-repair (yes, no).
  421. # If option <ParCheck> is enabled and <ParRepair> is not, the program
  422. # only verifies downloaded files and downloads needed par2-files, but does
  423. # not start repair-process. This is useful if the server does not have
  424. # enough CPU power, since repairing of large files may take too much
  425. # resources and time on a slow computers.
  426. # This option has effect only if the option <ParCheck> is enabled.
  427. ParRepair=yes
  428.  
  429. # Use only par2-files with matching names (yes, no).
  430. # If par-check needs extra par-blocks it searches for par2-files
  431. # in download queue, which can be unpaused and used for restore.
  432. # These par2-files should have the same base name as the main par2-file,
  433. # currently loaded in par-checker. Sometimes extra par files (especially if
  434. # they were uploaded by a different poster) have not matching names.
  435. # Normally par-checker does not use these files, but you can allow it
  436. # to use these files by setting <StrictParName> to "no".
  437. # This has however a side effect: if NZB-file contains more than one collection
  438. # of files (with different par-sets), par-checker may download par-files from
  439. # a wrong collection. This increases you traffic (but not harm par-check).
  440. # NOTE: par-checker always uses only par-files added from the same NZB-file
  441. # and the option <StrictParName> does not change this behavior.
  442. StrictParName=yes
  443.  
  444. # Pause download queue during check/repair (yes, no).
  445. # Enable the option to give CPU more time for par-check/repair. That helps
  446. # to speed up check/repair on slow CPUs with fast connection (e.g. NAS-devices).
  447. # NOTE: if parchecker needs additional par-files it temporary unpauses queue.
  448. # NOTE: See also option <PostPauseQueue>.
  449. ParPauseQueue=no
  450.  
  451. # Cleanup download queue after successful check/repair (yes, no).
  452. # Enable this option for automatic deletion of unneeded (paused) par-files
  453. # from download queue after successful check/repair.
  454. # NOTE: before cleaning up the program checks if all paused files are par-files.
  455. # If there are paused non-par-files (this means that you have paused them
  456. # manually), the cleanup will be skipped for this collection.
  457. ParCleanupQueue=yes
  458.  
  459. # Delete source nzb-file after successful check/repair (yes, no).
  460. # Enable this option for automatic deletion of nzb-file from incoming directory
  461. # after successful check/repair.
  462. NzbCleanupDisk=no
  463.  
  464.  
  465. ##############################################################################
  466. ### POSTPROCESSING ###
  467.  
  468. # Set path to program, that must be executed after the download of nzb-file
  469. # or one collection in nzb-file (if par-check enabled and nzb-file contains
  470. # multiple collections; see note below for the definition of "collection")
  471. # is completed and possibly par-checked/repaired.
  472. # Example: "PostProcess=~/postprocess-example.sh".
  473. # Arguments passed to that program:
  474. # 1 - path to destination dir, where downloaded files are located;
  475. # 2 - name of nzb-file processed;
  476. # 3 - name of par-file or empty string (if no collections found);
  477. # 4 - result of par-check:
  478. # 0 = not checked: par-check disabled or nzb-file does not contain any
  479. # par-files;
  480. # 1 = checked and failed to repair;
  481. # 2 = checked and successfully repaired;
  482. # 3 = checked and can be repaired but repair is disabled;
  483. # 5 - state of nzb-job:
  484. # 0 = there are more collections in this nzb-file queued;
  485. # 1 = this was the last collection in nzb-file;
  486. # 6 - indication of failed par-jobs for current nzb-file:
  487. # 0 = no failed par-jobs;
  488. # 1 = current par-job or any of the previous par-jobs for the
  489. # same nzb-files failed;
  490. # 7 - category assigned to nzb-file (can be empty string).
  491. # Return value: nzbget processes the exit code returned by the script:
  492. # 0 - all OK;
  493. # 28161 - request nzbget to do par-check/repair for current collection in the
  494. # current nzb-file;
  495. # 28162 - request nzbget to do par-check/repair for all collections in the
  496. # current nzb-file;
  497. # For info: value "28161" in hex-form is 0x6E01 and means "n1" or "nzbget
  498. # return code 1".
  499. # All other return codes are currently ignored, but for future compatibility
  500. # use value "0" or do not specify any exit code (in this case system use code
  501. # "0" by default).
  502. # NOTE: The parameter "state of nzb-job" is very important and MUST be checked
  503. # even in the simplest scripts.
  504. # If par-check is enabled and nzb-file contains more than one collection
  505. # of files the postprocess-program is called after each collection is completed
  506. # and par-checked. If you want to unpack files or clean up the directory
  507. # (delete par-files, etc.) there are two possibilities, when you can do this:
  508. # 1) you parse the "name of par-file processed" to find out the base name
  509. # of collection and clean up only files from this collection (not reliable,
  510. # because par-files sometimes have different names than rar-files);
  511. # 2) or you just check the parameters "state of nzb-job" and "indication of
  512. # failed par-jobs" and do the processing, only if they are set to "1"
  513. # (which means, that this was the last collection in nzb-file and all files
  514. # are now completed) and to "0" (no failed par-jobs) respectively;
  515. # NOTE: the term "collection" in the above description actually means
  516. # "par-set". To determine what "collections" are present in nzb-file nzbget
  517. # looks for par-sets. If any collection of files within nzb-file does
  518. # not have any par-files, this collection will not be detected.
  519. # For example, for nzb-file containing three collections but only two par-sets,
  520. # the postprocess will be called two times - after processing of each par-set.
  521. # NOTE: if nzbget doesn't find any collections it calls PostProcess once
  522. # with empty string for parameter "name of par-file";
  523. # NOTE: using the special return value ("28161") for requesting of
  524. # par-check/repair allows to organize the delayed parcheck. To do that:
  525. # 1) set options: LoadPars=one, ParCheck=no, ParRepair=yes;
  526. # 2) in post-process-script check the parameter "result of par-check". If
  527. # it is "0", that means, the script is called for the first time. Try to
  528. # unpack files. If unpack fails, exit the script with exit code for
  529. # par-check/repair;
  530. # 3) nzbget will start par-check/repair. After that it calls the script again;
  531. # 4) on second pass the parameter "result of par-check" will have value
  532. # greater than "0". If it is "2" ("checked and successfully repaired")
  533. # you can try unpack again.
  534. # NOTE: an example script for unrarring is provided within distribution
  535. # in file "postprocess-example.sh".
  536. #PostProcess=
  537.  
  538. # Allow multiple post-processing for the same nzb-file (yes,no).
  539. # After the post-processing (par-check and call of a postprocess-script) is
  540. # completed, nzbget adds the nzb-file to a list of completed-jobs. The nzb-file
  541. # stays in the list until the last file from that nzb-file is deleted from
  542. # the download queue (it occurs straight away if the par-check was successful
  543. # and the option <ParCleanupQueue> is enabled).
  544. # That means, if a paused file from a nzb-collection becomes unpaused
  545. # (manually or from a post-process-script) after the collection was already
  546. # postprocessed nzbget will not post-process nzb-file again.
  547. # This prevents the unwanted multiple post-processings of the same nzb-file.
  548. # But it might be needed if the par-check/-repair are performed not directly
  549. # by nzbget but from a post-process-script.
  550. # NOTE: enable this option only if you were advised to do that by the author
  551. # of the post-process-script.
  552. # NOTE: by enabling <AllowReProcess> you should disable the option <ParCheck>
  553. # to prevent multiple par-checking.
  554. AllowReProcess=no
  555.  
  556. # Set the default message-kind for output received from postprocess-script
  557. # (none, detail, info, warning, error, debug).
  558. # NZBGet checks if the line written by the script to stdout or stderr starts
  559. # with special character-sequence, determining the message-kind, e.g.:
  560. # [INFO] bla-bla.
  561. # [DETAIL] bla-bla.
  562. # [WARNING] bla-bla.
  563. # [ERROR] bla-bla.
  564. # [DEBUG] bla-bla.
  565. # If the message-kind was detected the text is added to log with detected type.
  566. # Otherwise the message becomes the default kind, specified in this option.
  567. PostLogKind=detail
  568.  
  569. # Pause download queue during executing of postprocess-script (yes, no).
  570. # Enable the option to give CPU more time for postprocess-script. That helps
  571. # to speed up postprocess on slow CPUs with fast connection (e.g. NAS-devices).
  572. # NOTE: See also option <ParPauseQueue>.
  573. PostPauseQueue=no
  574.  
  575.  
  576. ##############################################################################
  577. ### SCHEDULER ###
  578.  
  579. # This section defines scheduler commands.
  580. # For each command create a set of options <TaskX.Time>, <TaskX.Command>,
  581. # <TaskX.WeekDays> and <TaskX.DownloadRate>.
  582. # The following example shows how to throttle downloads in the daytime
  583. # by 100 KB/s and download at full speed overnights:
  584.  
  585. # Time to execute the command (HH:MM).
  586. #Task1.Time=08:00
  587.  
  588. # Week days to execute the command (1-7).
  589. # Comma separated list of week days numbers.
  590. # 1 is Monday.
  591. # Character '-' may be used to define ranges.
  592. # Examples: "1-7", "1-5", "5,6", "1-5, 7".
  593. #Task1.WeekDays=1-7
  594.  
  595. # Command to be executed (Pause, Unpause, DownloadRate).
  596. # Possible commands:
  597. # Pause - pauses download;
  598. # Unpause - resumes download;
  599. # DownloadRate - sets download rate in KB/s.
  600. #Task1.Command=DownloadRate
  601.  
  602. # Download rate to be set if the command is "DownloadRate" (kilobytes/sec).
  603. # If the option <TaskX.Command> is set to "Pause" or "Unpause" this option
  604. # is ignored and can be omitted.
  605. # Value "0" means no speed control.
  606. #Task1.DownloadRate=100
  607.  
  608. #Task2.Time=20:00
  609. #Task2.WeekDays=1-7
  610. #Task2.Command=DownloadRate
  611. #Task2.DownloadRate=0
  612.  
  613.  
  614. ##############################################################################
  615. ## PERFORMANCE ##
  616.  
  617. # On a very fast connection and slow CPU and/or drive the following
  618. # settings may improve performance:
  619. # 1) Disable par-checking and -repairing ("ParCheck=no"). VERY important,
  620. # because par-checking/repairing needs a lot of CPU-power and
  621. # significantly increases disk usage;
  622. # 2) Try to activate option <DirectWrite> ("DirectWrite=yes");
  623. # 3) Disable option <CrcCheck> ("CrcCheck=no");
  624. # 4) Disable option <ContinuePartial> ("ContinuePartial=no");
  625. # 5) Do not limit download rate ("DownloadRate=0"), because the bandwidth
  626. # throttling eats CPU time;
  627. # 6) Disable logging for info- and debug-messages ("InfoTarget=none",
  628. # "DebugTarget=none");
  629. # 7) Run the program in daemon (Posix) or service (Windows) mode and use
  630. # remote client for short periods of time needed for controlling of
  631. # download process on server. Daemon/Service mode eats less CPU
  632. # resources due to not updating of output on screen.
  633. # 8) Increase the value of option <WriteBufferSize> or better set it to
  634. # "-1" (max/auto) if you have spare 5-20 MB of memory.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement