Advertisement
Guest User

Untitled

a guest
Sep 4th, 2017
1,345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.36 KB | None | 0 0
  1. # Configuration file for NZBGet
  2.  
  3.  
  4. ##############################################################################
  5. ### PATHS ###
  6.  
  7. # Root directory for all tasks.
  8. #
  9. # On POSIX you can use "~" as alias for home directory (e.g. "~/downloads").
  10. # On Windows use absolute paths (e.g. "C:\Downloads").
  11. MainDir=C:\ProgramData\NZBGet
  12.  
  13. # Destination directory for downloaded files.
  14. #
  15. # If you want to distinguish between partially downloaded files and
  16. # completed downloads, use also option <InterDir>.
  17. DestDir=E:\NZBGet
  18.  
  19. # Directory to store intermediate files.
  20. #
  21. # If this option is set (not empty) the files are downloaded into
  22. # this directory first. After successful download of nzb-file (possibly
  23. # after par-repair) the files are moved to destination directory
  24. # (option <DestDir>). If download or unpack fail the files remain in
  25. # intermediate directory.
  26. #
  27. # Using of intermediate directory can significantly improve unpack
  28. # performance if you can put intermediate directory (option <InterDir>)
  29. # and destination directory (option <DestDir>) on separate physical
  30. # hard drives.
  31. #
  32. # NOTE: If the option <InterDir> is set to empty value the downloaded
  33. # files are put directly to destination directory (option <DestDir>).
  34. InterDir=
  35.  
  36. # Directory for incoming nzb-files.
  37. #
  38. # If a new nzb-file is added to queue via web-interface or RPC-API, it
  39. # is saved into this directory and then processed by extension
  40. # scripts (option <Extensions>).
  41. #
  42. # This directory is also monitored for new nzb-files. If a new file
  43. # is found it is added to download queue. The directory can have
  44. # sub-directories. A nzb-file queued from a subdirectory is automatically
  45. # assigned to category with sub-directory-name.
  46. NzbDir=${MainDir}/nzb
  47.  
  48. # Directory to store program state.
  49. #
  50. # This directory is used to save download queue, history, information
  51. # about fetched RSS feeds, statistics, etc.
  52. QueueDir=${MainDir}/queue
  53.  
  54. # Directory to store temporary files.
  55. TempDir=${MainDir}/tmp
  56.  
  57. # Directory with web-interface files.
  58. #
  59. # Example: /usr/local/share/nzbget/webui.
  60. #
  61. # NOTE: To disable web-interface set the option to an empty value.
  62. # This however doesn't disable the built-in web-server completely because
  63. # it is also used to serve JSON-/XML-RPC requests.
  64. # WebDir=${AppDir}\webui
  65.  
  66. # Directory with post-processing and other scripts.
  67. #
  68. # This option may contain multiple directories separated with commas or semicolons.
  69. #
  70. # NOTE: For information on writing scripts visit http://nzbget.net/Extension_scripts.
  71. ScriptDir=${MainDir}\scripts
  72.  
  73. # Lock-file for daemon-mode, POSIX only.
  74. #
  75. # When started in daemon mode the program creates the lock file and
  76. # writes process-id (PID) into it. That info can be used in shell
  77. # scripts. If the lock file can not be created or the lock to the file
  78. # can not be acquired the daemon terminates, preventing unintentional
  79. # starting of multiple daemons.
  80. #
  81. # Set to empty value to disable the creating of the lock-file and the
  82. # check for another running instance (not recommended).
  83. # LockFile=
  84.  
  85. # Where to store log file, if it needs to be created.
  86. #
  87. # NOTE: See also option <WriteLog>.
  88. LogFile=${MainDir}\nzbget.log
  89.  
  90. # Configuration file template.
  91. #
  92. # Put the path to the example configuration file which comes with
  93. # NZBGet. Web-interface needs this file to read option descriptions.
  94. #
  95. # Do not put here your actual configuration file (typically stored
  96. # in your home directory or in /etc/nzbget.conf) but instead the unchanged
  97. # example configuration file (typically installed to
  98. # /usr/local/share/nzbget/nzbget.conf).
  99. #
  100. # Example: /usr/local/share/nzbget/nzbget.conf.
  101. # ConfigTemplate=${AppDir}\nzbget.conf.template
  102.  
  103. # Required directories.
  104. #
  105. # List of destination directories to be waited for on program start. Directories
  106. # must be separated with commas or semicolons.
  107. #
  108. # The list of directories is checked on program start. The program waits
  109. # until all directories become available before starting download or
  110. # post-processing. This is useful if the download destination is configured
  111. # on network or external drives, which may require some time to mount on boot.
  112. #
  113. # NOTE: Only directories used in option <InterDir> and option <DestDir>
  114. # (global or per-category) can be waited. Other directories, such as
  115. # option <TempDir>, option <NzbDir> and option <QueueDir> must be
  116. # available on program start.
  117. RequiredDir=
  118.  
  119. # Certificate store file or directory.
  120. #
  121. # Certificate store contains root certificates used for server certificate
  122. # verification when connecting to servers with encryption (TLS/SSL). This
  123. # includes communication with news-servers for article downloading and
  124. # with web-servers (via https) for fetching of rss feeds and nzb-files.
  125. #
  126. # The option can point either to one big file containing all root
  127. # certificates or to a directory containing certificate files, in PEM format.
  128. #
  129. # Example: /etc/ssl/certs/ca-certificates.crt.
  130. #
  131. # NOTE: Certificate verification must be enabled separately via option <CertCheck>.
  132. #
  133. # NOTE: For more details visit http://nzbget.net/Certificate_verification.
  134.  
  135. ##############################################################################
  136. ### NEWS-SERVERS ###
  137.  
  138. # This section defines which servers NZBGet should connect to.
  139. #
  140. # The servers should be numbered subsequently without holes.
  141. # For example if you configure three servers you should name them as Server1,
  142. # Server2 and Server3. If you need to delete Server2 later you should also
  143. # change the name of Server3 to Server2. Otherwise it will not be properly
  144. # read from the config file. Server number doesn't affect its priority (level).
  145.  
  146. # Use this news server (yes, no).
  147. #
  148. # Set to "no" to disable the server on program start. Servers can be activated
  149. # later via scheduler tasks or manually via web-interface.
  150. #
  151. # NOTE: Download is not possible when all servers on level 0 are disabled. Servers
  152. # on higher levels are used only if at least one server on level 0 was tried.
  153. Server1.Active=yes
  154.  
  155. # Name of news server.
  156. #
  157. # The name is used in UI and for logging. It can be any string, you
  158. # may even leave it empty.
  159. Server1.Name=Astraweb
  160.  
  161. # Level (priority) of news server (0-99).
  162. #
  163. # The servers are ordered by their level. NZBGet first tries to download
  164. # an article from one (any) of level-0-servers. If that server fails,
  165. # NZBGet tries all other level-0-servers. If all servers fail, it proceeds
  166. # with the level-1-servers, etc.
  167. #
  168. # Put your major download servers at level 0 and your fill servers at
  169. # levels 1, 2, etc..
  170. #
  171. # Several servers with the same level may be defined, they have
  172. # the same priority.
  173. Server1.Level=0
  174.  
  175. # This is an optional non-reliable server (yes, no).
  176. #
  177. # Marking server as optional tells NZBGet to ignore this server if a
  178. # connection to this server cannot be established. Normally NZBGet
  179. # doesn't try upper-level servers before all servers on current level
  180. # were tried. If a connection to server fails NZBGet waits until the
  181. # server becomes available (it may try others from current level at this
  182. # time). This is usually what you want to avoid exhausting of
  183. # (costly) upper level servers if one of main servers is temporary
  184. # unavailable. However, for less reliable servers you may prefer to ignore
  185. # connection errors and go on with higher-level servers instead.
  186. Server1.Optional=no
  187.  
  188. # Group of news server (0-99).
  189. #
  190. # If you have multiple accounts with same conditions (retention, etc.)
  191. # on the same news server, set the same group (greater than 0) for all
  192. # of them. If download fails on one news server, NZBGet does not try
  193. # other servers from the same group.
  194. #
  195. # Value "0" means no group defined (default).
  196. Server1.Group=0
  197.  
  198. # Host name of news server.
  199. Server1.Host=ssl.astraweb.com
  200.  
  201. # Port to connect to (1-65535).
  202. Server1.Port=443
  203.  
  204. # User name to use for authentication.
  205. Server1.Username=
  206. # Password to use for authentication.
  207. Server1.Password=
  208. # Server requires "Join Group"-command (yes, no).
  209. Server1.JoinGroup=no
  210.  
  211. # Encrypted server connection (TLS/SSL) (yes, no).
  212. #
  213. # NOTE: By changing this option you should also change the option <ServerX.Port>
  214. # accordingly because unsecure and encrypted connections use different ports.
  215. Server1.Encryption=yes
  216.  
  217. # Cipher to use for encrypted server connection.
  218. #
  219. # By default (when the option is empty) the underlying encryption library
  220. # chooses the cipher automatically. To achieve the best performance
  221. # however you can manually select a faster cipher.
  222. #
  223. # See http://nzbget.net/Choosing_a_cipher for details.
  224. #
  225. # NOTE: One of the fastest cipher is RC4. To select it use the cipher string
  226. # "RC4-MD5" (if NZBGet was configured to use OpenSSL) or
  227. # "NONE:+VERS-TLS-ALL:+ARCFOUR-128:+RSA:+MD5:+COMP-ALL"
  228. # (if NZBGet was configured to use GnuTLS). Note that RC4 is considered insecure
  229. # by the IETF (http://tools.ietf.org/html/rfc7465), but may be sufficient for
  230. # the usage of NZBGet.
  231. #
  232. # NOTE: You may get a TLS handshake error if the news server does
  233. # not support the chosen cipher. You can also get an error "Could not
  234. # select cipher for TLS" if the cipher string is not valid.
  235. Server1.Cipher=
  236.  
  237. # Maximum number of simultaneous connections to this server (0-999).
  238. Server1.Connections=20
  239.  
  240. # Server retention time (days).
  241. #
  242. # How long the articles are stored on the news server. The articles
  243. # whose age exceed the defined server retention time are not tried on
  244. # this news server, the articles are instead considered failed on this
  245. # news server.
  246. #
  247. # Value "0" disables retention check.
  248. Server1.Retention=0
  249.  
  250. # Second server, on level 0.
  251.  
  252. #Server2.Level=0
  253. #Server2.Host=my2.newsserver.com
  254. #Server2.Port=119
  255. #Server2.Username=
  256. #Server2.Password=
  257. #Server2.JoinGroup=yes
  258. #Server2.Connections=4
  259.  
  260. # Third server, on level 1.
  261.  
  262. #Server3.Level=1
  263. #Server3.Host=fills.newsserver.com
  264. #Server3.Port=119
  265. #Server3.Username=
  266. #Server3.Password=
  267. #Server3.JoinGroup=yes
  268. #Server3.Connections=1
  269.  
  270.  
  271. ##############################################################################
  272. ### SECURITY ###
  273.  
  274. # IP on which NZBGet server listen and which clients use to contact NZBGet.
  275. #
  276. # It could be a dns-hostname (e. g. "mypc") or an IP address (e. g. "192.168.1.2" or
  277. # "127.0.0.1"). An IP-address is more effective because does not require dns-lookup.
  278. #
  279. # Your computer may have multiple network interfaces and therefore multiple IP
  280. # addresses. If you want NZBGet to listen to all interfaces and be available from
  281. # all IP-addresses use value "0.0.0.0".
  282. #
  283. # NOTE: When you start NZBGet as client (to send remote commands to NZBGet server) and
  284. # the option <ControlIP> is set to "0.0.0.0" the client will use IP "127.0.0.1".
  285. #
  286. # NOTE: If you set the option to "127.0.0.1" you will be able to connect to NZBGet
  287. # only from the computer running NZBGet. This restriction applies to web-interface too.
  288. ControlIP=0.0.0.0
  289.  
  290. # Port which NZBGet server and remote client use (1-65535).
  291. #
  292. # NOTE: The communication via this port is not encrypted. For encrypted
  293. # communication see option <SecurePort>.
  294. ControlPort=6789
  295.  
  296. # User name which NZBGet server and remote client use.
  297. #
  298. # Set to empty value to disable user name check (check only password).
  299. #
  300. # NOTE: This option was added in NZBGet 11. Older versions used predefined
  301. # not changeable user name "nzbget". Third-party tools or web-sites written
  302. # for older NZBGet versions may not have an option to define user name. In
  303. # this case you should set option <ControlUsername> to the default value
  304. # "nzbget" or use empty value.
  305. ControlUsername=nzbget
  306.  
  307. # Password which NZBGet server and remote client use.
  308. #
  309. # Set to empty value to disable authorization request.
  310. ControlPassword=
  311. # User name for restricted access.
  312. #
  313. # The restricted user can control the program with a few restrictions.
  314. # They have access to the web-interface and can see most of the program
  315. # settings. They however, can not change program settings, view security
  316. # related options or options provided by extension scripts.
  317. #
  318. # Use this user to connect to NZBGet from other programs and web-sites.
  319. #
  320. # In terms of RPC-API the user:
  321. # - cannot use method "saveconfig";
  322. # - methods "config" and "saveconfig" return string "***" for
  323. # options those content is protected from the user.
  324. #
  325. # Set to empty value to disable restricted user.
  326. #
  327. # NOTE: Don't forget to change default username/password of the control
  328. # user (options <ControlUsername> and <ControlPassword>).
  329. RestrictedUsername=
  330.  
  331. # Password for restricted access.
  332. #
  333. # Set to empty value to disable password check.
  334. RestrictedPassword=
  335.  
  336. # User name to add downloads via RPC-API.
  337. #
  338. # Use the AddUsername/AddPassword to give other programs or web-services
  339. # access to NZBGet with only two permissions:
  340. # - add new downloads using RPC-method "append";
  341. # - check program version using RPC-method "version".
  342. #
  343. # In a case the program/web-service needs more rights use the restricted
  344. # user instead (options <RestrictedUsername> and <RestrictedPassword>).
  345. #
  346. # Set to empty value to disable add-user.
  347. #
  348. # NOTE: Don't forget to change default username/password of the control
  349. # user (options <ControlUsername> and <ControlPassword>).
  350. AddUsername=
  351.  
  352. # Password for user with add downloads access.
  353. #
  354. # Set to empty value to disable password check.
  355. AddPassword=
  356.  
  357. # Authenticate using web-form (yes, no).
  358. #
  359. # The preferred and default way to authenticate in web-interface is using
  360. # HTTP authentication. Web-browsers show a special dialog to enter username
  361. # and password which they then send back to NZBGet. Sometimes browser plugins
  362. # aided at storing and filling of passwords do not work properly with browser's
  363. # built-in dialog. To help with such tools NZBGet provide an alternative
  364. # authentication mechanism via web form.
  365.  
  366. # Secure control of NZBGet server (yes, no).
  367. #
  368. # Activate the option if you want to access NZBGet built-in web-server
  369. # via HTTPS (web-interface and RPC). You should also provide certificate
  370. # and key files, see option <SecureCert> and option <SecureKey>.
  371. SecureControl=no
  372.  
  373. # Port which NZBGet server and remote client use for encrypted
  374. # communication (1-65535).
  375. SecurePort=6791
  376.  
  377. # Full path to certificate file for encrypted communication.
  378. SecureCert=
  379.  
  380. # Full path to key file for encrypted communication.
  381. SecureKey=
  382.  
  383. # IP-addresses allowed to connect without authorization.
  384. #
  385. # Comma separated list of privileged IPs for easy access to NZBGet
  386. # built-in web-server (web-interface and RPC). The connected clients
  387. # have full unrestricted access.
  388. #
  389. # Example: 127.0.0.1,192.168.178.2.
  390. #
  391. # NOTE: Do not use this option if the program works behind another
  392. # web-server because all requests will have the address of this server.
  393. AuthorizedIP=127.0.0.1
  394.  
  395. # TLS certificate verification (yes, no).
  396. #
  397. # When connecting to a news server (for downloading) or a web server
  398. # (for fetching of rss feeds and nzb-files) the authenticity of the server
  399. # should be validated using server security certificate. If the check
  400. # fails that means the connection cannot be trusted and must be closed
  401. # with an error message explaining the security issue.
  402. #
  403. # Sometimes servers are improperly configured and the certificate verification
  404. # fails even if there is no hacker attack in place. In that case you should
  405. # inform the server owner about the issue. If you still need to connect to
  406. # servers with invalid certificates you can disable the certificate verification
  407. # but you should know that your connection is insecure and you might be
  408. # connecting to attacker's server without your awareness.
  409. #
  410. # NOTE: Certificate verification requires a list of trusted root certificates,
  411. # which must be configured using option <CertStore>.
  412. #
  413. # NOTE: For more details visit http://nzbget.net/Certificate_verification.
  414.  
  415. # User name for daemon-mode, POSIX only.
  416. #
  417. # Set the user that the daemon normally runs at (POSIX in daemon-mode only).
  418. # Set MainDir with an absolute path to be sure where it will write.
  419. # This allows NZBGet daemon to be launched in rc.local (at boot), and
  420. # download items as a specific user id.
  421. #
  422. # NOTE: This option has effect only if the program was started from
  423. # root-account, otherwise it is ignored and the daemon runs under
  424. # current user id.
  425. # DaemonUsername=
  426.  
  427. # Specify default umask (affects file permissions) for newly created
  428. # files, POSIX only (000-1000).
  429. #
  430. # The value should be written in octal form (the same as for "umask" shell
  431. # command).
  432. # Empty value or value "1000" disable the setting of umask-mode; current
  433. # umask-mode (set via shell) is used in this case.
  434. # UMask=
  435.  
  436.  
  437. ##############################################################################
  438. ### CATEGORIES ###
  439.  
  440. # This section defines categories available in web-interface.
  441.  
  442. # Category name.
  443. #
  444. # Each nzb-file can be assigned to a category.
  445. # Category name is passed to post-processing script and can be used by it
  446. # to perform category specific processing.
  447. Category1.Name=Movies
  448.  
  449. # Destination directory for this category.
  450. #
  451. # If this option is empty, then the default destination directory
  452. # (option <DestDir>) is used. In this case if the option <AppendCategoryDir>
  453. # is active, the program creates a subdirectory with category name within
  454. # destination directory.
  455. Category1.DestDir=${MainDir}\complete
  456.  
  457. # Unpack downloaded nzb-files (yes, no).
  458. #
  459. # For more information see global option <Unpack>.
  460. Category1.Unpack=yes
  461.  
  462. # List of extension scripts for this category.
  463. #
  464. # For more information see global option <Extensions>.
  465. Category1.Extensions=
  466.  
  467. # List of aliases.
  468. #
  469. # When a nzb-file is added from URL, RSS or RPC the category name
  470. # is usually supplied by nzb-site or by application accessing
  471. # NZBGet. Using Aliases you can match their categories with your owns.
  472. #
  473. # Separate aliases with commas or semicolons. Use wildcard characters
  474. # * and ? for pattern matching.
  475. #
  476. # Example: TV - HD, TV - SD, TV*
  477. Category1.Aliases=
  478.  
  479. Category2.Name=Series
  480. Category3.Name=Music
  481. Category4.Name=Software
  482.  
  483.  
  484. ##############################################################################
  485. ### RSS FEEDS ###
  486.  
  487. # Name of RSS Feed.
  488. #
  489. # The name is used in UI and for logging. It can be any string.
  490. #Feed1.Name=my feed
  491.  
  492. # Address (URL) of RSS Feed.
  493. #
  494. # Example: https://myindexer.com/api?apikey=3544646bfd1c535a9654645609800901&t=search&q=game.
  495. #Feed1.URL=
  496.  
  497. # Filter rules for items.
  498. #
  499. # Use filter to ignore unwanted items in the feed. In its simplest version
  500. # the filter is a space separated list of words which must be present in
  501. # the item title.
  502. #
  503. # Example: linux debian dvd.
  504. #
  505. # MORE INFO:
  506. # NOTE: This is a short documentation, for more information visit
  507. # http://nzbget.net/RSS.
  508. #
  509. # Feed filter consists of rules - one rule per line. Each rule defines
  510. # a search string and a command, which must be performed if the search
  511. # string matches. There are five kinds of rule-commands: Accept,
  512. # Reject, Require, Options, Comment.
  513. #
  514. # NOTE: Since options in the configuration file can not span multiple
  515. # lines, the lines (rules) must be separated with %-character (percent).
  516. #
  517. # Definition of a rule:
  518. # [A:|A(options):|R:|Q:|O(options):|#] search-string
  519. #
  520. # A - declares Accept-rule. Rules are accept-rules by default, the
  521. # "A:" can be omitted. If the feed item matches to the rule the
  522. # item is considered good and no further rules are checked.
  523. # R - declares Reject-rule. If the feed item matches to the rule the
  524. # item is considered bad and no further rules are checked.
  525. # Q - declares Require-rule. If the feed item DOES NOT match to the rule
  526. # the item is considered bad and no further rules are checked.
  527. # O - declares Options-rule. If the feed item matches to the rule the
  528. # options declared in the rule are set for the item. The item is
  529. # neither accepted nor rejected via this rule but can be accepted
  530. # later by one of Accept-rules. In this case the item will have its
  531. # options already set (unless the Accept-rule overrides them).
  532. # # - lines starting with # are considered comments and are ignored. You
  533. # can use comments to explain complex rules or to temporary disable
  534. # rules for debugging.
  535. #
  536. # Options allow to set properties on nzb-file. It's a comma-separated
  537. # list of property names with their values.
  538. #
  539. # Definition of an option:
  540. # name:value
  541. #
  542. # Options can be defined using long option names or short names:
  543. # category (cat, c) - set category name, value is a string;
  544. # pause (p) - add nzb in paused or unpaused state, possible
  545. # values are: yes (y), no (n);
  546. # priority (pr, r) - set priority, value is a signed integer number;
  547. # priority+ (pr+, r+) - increase priority, value is a signed integer number;
  548. # dupescore (ds, s) - set duplicate score, value is a signed integer number;
  549. # dupescore+ (ds+, s+) - increase duplicate score, value is a signed integer number;
  550. # dupekey (dk, k) - set duplicate key, value is a string;
  551. # dupekey+ (dk+, k+) - add to duplicate key, value is a string;
  552. # dupemode (dm, m) - set duplicate check mode, possible values
  553. # are: score (s), all (a), force (f);
  554. # rageid - generate duplicate key using this rageid
  555. # (integer number) and season/episode numbers;
  556. # series - generate duplicate key using series identifier
  557. # (any unique string) and season/episode numbers.
  558. #
  559. # Examples of option definitions:
  560. # Accept(category:my series, pause:yes, priority:100): my show 1080p;
  561. # Options(c:my series, p:y, r:100): 1080p;
  562. # Options(s:1000): 1080p;
  563. # Options(k+:1080p): 1080p;
  564. # Options(dupemode:force): BluRay.
  565. #
  566. # Rule-options override values set in feed-options.
  567. #
  568. # The search-string is similar to used in search engines. It consists of
  569. # search terms separated with spaces. Every term is checked for a feed
  570. # item and if they all succeed the rule is considered matching.
  571. #
  572. # Definition of a term:
  573. # [+|-][field:][command]param
  574. #
  575. # + - declares a positive term. Terms are positive by default,
  576. # the "+" can be omitted;
  577. # - - declares a negative term. If the term succeeds the feed
  578. # item is ignored;
  579. # field - field to which apply the term. If not specified
  580. # the default field "title" is used;
  581. # command - a special character defining how to interpret the
  582. # parameter (followed after the command):
  583. # @ - search for string "param". This is default command,
  584. # the "@" can be omitted;
  585. # $ - "param" defines a regular expression (using POSIX Extended
  586. # Regular Expressions syntax);
  587. # = - equal;
  588. # < - less than;
  589. # <= - equal or less than;
  590. # > - greater than;
  591. # >= - equal or greater than;
  592. # param - parameter for command.
  593. #
  594. # Commands @ and $ are for use with text fields (title, filename, category,
  595. # link, description, dupekey). Commands =, <, <=, > and >= are for use
  596. # with numeric fields (size, age, imdbid, rageid, season, episode, priority,
  597. # dupescore).
  598. #
  599. # Only fields title, filename and age are always present. The availability of
  600. # other fields depend on rss feed provider.
  601. #
  602. # Any newznab attribute (encoded as "newznab:attr" in the RSS feed) can
  603. # be used as search field with prefix "attr-", for example "attr-genre".
  604. #
  605. # Text search (Command @) supports wildcard characters * (matches
  606. # any number of any characters), ? (matches any one character)
  607. # and # (matches one digit).
  608. # Text search is by default performed against words (word-search mode): the
  609. # field content is separated into words and then each word is checked
  610. # against pattern. If the search pattern starts and ends with * (star)
  611. # the search is performed against the whole field content
  612. # (substring-search mode). If the search pattern contains word separator
  613. # characters (except * and ?) the search is performed on the whole
  614. # field (the word-search would be obviously never successful in this
  615. # case). Word separators are: !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~.
  616. #
  617. # Field "size" can have suffixes "K" or "KB" for kilobytes, "M" or "MB"
  618. # for megabytes and "G" or "GB" for gigabytes. Field "age" can have
  619. # suffixes "m" for minutes, "h" for hours and "d" for days. If suffix
  620. # is not specified default is days.
  621. #
  622. # Examples (the trailing ; or . is not part of filter):
  623. # 1) A: s01* -category:anime;
  624. # 2) my show WEB-DL;
  625. # 3) *my?show* WEB-DL size:<1.8GB age:>2h;
  626. # 4) R: size:>9GB;
  627. # 5) Q: HDTV.
  628. #
  629. # NOTE: This is a short documentation, for more information visit
  630. # http://nzbget.net/RSS.
  631. #Feed1.Filter=
  632.  
  633. # How often to check for new items (minutes).
  634. #
  635. # Value "0" disables the automatic check of this feed.
  636. #Feed1.Interval=15
  637.  
  638. # Treat all items on first fetch as backlog (yes, no).
  639. #
  640. # yes - when the feed is fetched for the very first time (or after
  641. # changing of URL or filter) all existing items are ignored (marked
  642. # as backlog). The items found on subsequent fetches are processed;
  643. # no - all items are processed even on first fetch (or after
  644. # changing of URL or filter).
  645. #Feed1.Backlog=yes
  646.  
  647. # Add nzb-files as paused (yes, no).
  648. #Feed1.PauseNzb=no
  649.  
  650. # Category for added nzb-files.
  651. #
  652. # NOTE: Feed providers may include category name within response when nzb-file
  653. # is downloaded. If you want to use the providers category leave the option empty.
  654. #Feed1.Category=
  655.  
  656. # Priority for added nzb-files (number).
  657. #
  658. # Priority can be any integer value. The web-interface however operates
  659. # with only six predefined priorities: -100 (very low priority), -50
  660. # (low priority), 0 (normal priority, default), 50 (high priority),
  661. # 100 (very high priority) and 900 (force priority). Downloads with
  662. # priorities equal to or greater than 900 are downloaded and
  663. # post-processed even if the program is in paused state (force mode).
  664. #Feed1.Priority=0
  665.  
  666. # List of rss feed extension scripts to execute for rss content.
  667. #
  668. # The scripts in the list must be separated with commas or semicolons. All
  669. # scripts must be stored in directory set by option <ScriptDir> and
  670. # paths relative to <ScriptDir> must be entered here.
  671. #
  672. # NOTE: For developer documentation visit http://nzbget.net/Extension_scripts.
  673. #Feed1.Extensions=
  674.  
  675.  
  676. ##############################################################################
  677. ### INCOMING NZBS ###
  678.  
  679. # Create subdirectory with category-name in destination-directory (yes, no).
  680. AppendCategoryDir=yes
  681.  
  682. # How often incoming-directory (option <NzbDir>) must be checked for new
  683. # nzb-files (seconds).
  684. #
  685. # Value "0" disables the check.
  686. #
  687. # NOTE: nzb-files are processed by extension scripts. See option <Extensions>.
  688. NzbDirInterval=5
  689.  
  690. # How old nzb-file should at least be for it to be loaded to queue (seconds).
  691. #
  692. # NZBGet checks if nzb-file was not modified in last few seconds, defined by
  693. # this option. That safety interval prevents the loading of files, which
  694. # were not yet completely saved to disk, for example if they are still being
  695. # downloaded in web-browser.
  696. NzbDirFileAge=60
  697.  
  698. # Check for duplicate titles (yes, no).
  699. #
  700. # If this option is enabled the program checks by adding of a new nzb-file:
  701. # 1) if history contains the same title (see below) with success status
  702. # the nzb-file is not added to queue;
  703. # 2) if download queue already contains the same title the nzb-file is
  704. # added to queue for backup (if the first file fails);
  705. # 3) if nzb-file contains duplicate entries. This helps to find errors
  706. # in bad nzb-files.
  707. #
  708. # "Same title" means the nzb file name is same or the duplicate key is
  709. # same. Duplicate keys are set by fetching from RSS feeds using title
  710. # identifier fields provided by RSS provider (imdbid or rageid/season/episode).
  711. #
  712. # If duplicates were detected only one of them is downloaded. If download
  713. # fails another duplicate is tried. If download succeeds all remaining
  714. # duplicates are deleted from queue.
  715. #
  716. # NOTE: For automatic duplicate handling option <HealthCheck> must be
  717. # set to "Delete", "Park" or "None". If it is set to "Pause" you will need to
  718. # manually unpause another duplicate (if any exists in queue).
  719. #
  720. # NOTE: For more info on duplicates see http://nzbget.net/RSS.
  721. DupeCheck=yes
  722.  
  723.  
  724. ##############################################################################
  725. ### DOWNLOAD QUEUE ###
  726.  
  727. # Save download queue to disk (yes, no).
  728. #
  729. # This allows to reload it on next start.
  730. SaveQueue=yes
  731.  
  732. # Flush download queue to disk (yes, no).
  733. #
  734. # Immediately flush file buffers for queue state file. This improves
  735. # safety for the queue file but may decrease disk performance due to
  736. # disabling of disk caching for queue state file.
  737. #
  738. # You can disable this option if it negatively affects disk performance on your
  739. # system. You should create backups of queue-directory (option <QueueDir>)
  740. # in that case. Keep the option enabled if your system often crashes.
  741. FlushQueue=yes
  742.  
  743. # Reload download queue on start, if it exists (yes, no).
  744. ReloadQueue=yes
  745.  
  746. # Continue download of partially downloaded files (yes, no).
  747. #
  748. # If active the current state (the info about what articles were already
  749. # downloaded) is saved every second and is reloaded after restart. This is
  750. # about files included in download jobs (usually rar-files), not about
  751. # download-jobs (nzb-files) itself. Download-jobs are always
  752. # continued regardless of that option.
  753. #
  754. # Disabling this option may slightly reduce disk access and is
  755. # therefore recommended on fast connections.
  756. ContinuePartial=yes
  757.  
  758. # Propagation delay to your news servers (minutes).
  759. #
  760. # The option sets minimum post age for nzb-files. Very recent files
  761. # are not downloaded to avoid download failures. The files remain
  762. # on hold in the download queue until the propagation delay expires,
  763. # after that they are downloaded.
  764. PropagationDelay=0
  765.  
  766. # Decode articles (yes, no).
  767. #
  768. # yes - decode articles using internal decoder (supports yEnc and UU formats);
  769. # no - articles will not be decoded/joined. Useful to look at article's source text.
  770. #
  771. # NOTE: This option is primary for debugging purposes. You should not
  772. # disable it.
  773. Decode=yes
  774.  
  775. # Memory limit for article cache (megabytes).
  776. #
  777. # Article cache helps to improve performance. First the amount of disk
  778. # operations can be significantly reduced. Second the created files are
  779. # less fragmented, which again speeds up the post-processing (unpacking).
  780. #
  781. # The article cache works best with option <DirectWrite> which can
  782. # effectively use even small cache (like 50 MB).
  783. #
  784. # If option <DirectWrite> is disabled the cache should be big enough to
  785. # hold all articles of one file (typically up to 200 MB, sometimes even
  786. # 500 MB). Otherwise the articles are written into temporary directory
  787. # when the cache is full, which degrades performance.
  788. #
  789. # Value "0" disables article cache.
  790. #
  791. # In 32 bit mode the maximum allowed value is 1900.
  792. #
  793. # NOTE: Also see option <WriteBuffer>.
  794. ArticleCache=250
  795.  
  796. # Write decoded articles directly into destination output file (yes, no).
  797. #
  798. # Files are posted to Usenet in multiple pieces (articles). Each file
  799. # typically consists of hundreds of articles.
  800. #
  801. # When option <DirectWrite> is disabled and the article cache (option
  802. # <ArticleCache>) is not active or is full the program saves downloaded
  803. # articles into temporary directory and later reads them all to write
  804. # again into the destination file.
  805. #
  806. # When option <DirectWrite> is enabled the program at first creates the
  807. # output destination file with required size (total size of all articles),
  808. # then writes the articles directly to this file without creating of any
  809. # temporary files. If article cache (option <ArticleCache>) is active
  810. # the downloaded articles are saved into cache first and are written
  811. # into the destination file when the cache flushes. This happen when
  812. # all articles of the file are downloaded or when the cache becomes
  813. # full to 90%.
  814. #
  815. # The direct write relies on the ability of file system to create
  816. # empty files without allocating the space on the drive (sparse files),
  817. # which most modern file systems support including EXT3, EXT4
  818. # and NTFS. The notable exception is HFS+ (default file system on OSX).
  819. #
  820. # The direct write usually improves performance by reducing the amount
  821. # of disk operations but may produce more fragmented files when used
  822. # without article cache.
  823. DirectWrite=yes
  824.  
  825. # Memory limit for per article write buffer (kilobytes).
  826. #
  827. # When downloaded articles are written into disk the OS collects
  828. # data in the internal buffer before flushing it into disk. This option
  829. # controls the size of this buffer per connection/download thread.
  830. #
  831. # Larger buffers decrease the amount of disk operations and help
  832. # producing less fragmented files speeding up the post-processing
  833. # (unpack).
  834. #
  835. # To calculate the maximum memory required for all download threads multiply
  836. # WriteBuffer by number of connections configured in section
  837. # "NEWS-SERVERS". The option sets the limit, the actual buffer can be
  838. # smaller if the article size (typically about 500 KB) is below the limit.
  839. #
  840. # Write-buffer is managed by OS (system libraries) and therefore
  841. # the effect of the option is highly OS-dependent.
  842. #
  843. # Recommended value for computers with enough memory: 1024.
  844. #
  845. # Value "0" disables the setting of buffer size. In this case a buffer
  846. # of default size (OS and compiler specific) is used, which is usually
  847. # too small (1-4 KB) and therefore not optimal.
  848. #
  849. # NOTE: Also see option <ArticleCache>.
  850. WriteBuffer=1024
  851.  
  852. # Check CRC of downloaded and decoded articles (yes, no).
  853. #
  854. # Normally this option should be enabled for better detecting of download
  855. # errors. However checking of CRC needs CPU time. On a fast connection and
  856. # slow CPU disabling of CRC-Check may improve performance.
  857. CrcCheck=yes
  858.  
  859. # Post-processing strategy (sequential, balanced, aggressive, rocket).
  860. #
  861. # Sequential - downloaded items are post processed from a queue, one item at a
  862. # time, to dedicate the most computer resources to each
  863. # item. Therefore, a post process par repair will prevent another
  864. # task from running even if the item does not require a par repair;
  865. # Balanced - items that do not need par repair are post processed one at a
  866. # time while par repair tasks may also run simultaneously one after
  867. # another at the same time. This means that a post process par
  868. # repair will not prevent another task from running, but at a cost
  869. # of using more computer resource;
  870. # Aggressive - will simultaneously post process up to three items including
  871. # one par repair task;
  872. # Rocket - will simultaneously post process up to six items including one
  873. # or two par repair tasks.
  874. #
  875. # NOTE: Computer resources are in heavy demand when post-processing with
  876. # simultaneous tasks - make sure the hardware is capable.
  877. PostStrategy=balanced
  878.  
  879. # Pause if disk space gets below this value (megabytes).
  880. #
  881. # Disk space is checked for directories pointed by option <DestDir> and
  882. # option <InterDir>.
  883. #
  884. # Value "0" disables the check.
  885. DiskSpace=250
  886.  
  887. # Delete source nzb-file when it is not needed anymore (yes, no).
  888. #
  889. # Enable this option for automatic deletion of source nzb-file from
  890. # incoming directory when the program doesn't require it anymore (the
  891. # nzb-file has been deleted from queue and history).
  892. NzbCleanupDisk=yes
  893.  
  894. # Keep the history of downloaded nzb-files (days).
  895. #
  896. # After download and post-processing the items are added to history where
  897. # their status can be checked and they can be post-processed again if
  898. # necessary.
  899. #
  900. # After expiring of defined period:
  901. #
  902. # If option <DupeCheck> is active the items become hidden and the amount
  903. # of data kept is significantly reduced (for better performance), only
  904. # fields necessary for duplicate check are kept. The item remains in the
  905. # hidden history (forever);
  906. #
  907. # If option <DupeCheck> is NOT active the items are removed from history.
  908. #
  909. # When a failed item is removed from history or become hidden all downloaded
  910. # files of that item are deleted from disk.
  911. #
  912. # Value "0" disables history. Duplicate check will not work.
  913. KeepHistory=30
  914.  
  915. # Keep the history of outdated feed items (days).
  916. #
  917. # After fetching of an RSS feed the information about included items (nzb-files)
  918. # is saved to disk. This allows to detect new items on next fetch. Feed
  919. # providers update RSS feeds constantly. Since the feed length is limited
  920. # (usually 100 items or less) the old items get pushed away by new
  921. # ones. When an item is not present in the feed anymore it's not necessary
  922. # to keep the information about this item on the disk.
  923. #
  924. # If option is set to "0", the outdated items are deleted from history
  925. # immediately.
  926. #
  927. # Otherwise the items are held in the history for defined number of
  928. # days. Keeping of items for few days helps in situations when feed provider
  929. # has technical issues and may response with empty feeds (or with missing
  930. # items). When the technical issue is fixed the items may reappear in the
  931. # feed causing the program to re-download items if they were not found in
  932. # the feed history.
  933. FeedHistory=7
  934.  
  935. ##############################################################################
  936. ### CONNECTION ###
  937.  
  938. # How many retries should be attempted if a download error occurs (0-99).
  939. #
  940. # If download fails because of incomplete or damaged article or due to
  941. # CRC-error the program tries to re-download the article from the same
  942. # news server as many times as defined in this option. If all attempts fail
  943. # the program tries another news server.
  944. #
  945. # If download fails because of "article or group not found error" the
  946. # program tries another news server without retrying on the failed server.
  947. ArticleRetries=3
  948.  
  949. # Article retry interval (seconds).
  950. #
  951. # If download of article fails because of interrupted connection
  952. # the server is temporary blocked until the retry interval expires.
  953. ArticleInterval=0
  954.  
  955. # Connection timeout for article downloading (seconds).
  956. ArticleTimeout=120
  957.  
  958. # Number of download attempts for URL fetching (0-99).
  959. #
  960. # If fetching of nzb-file via URL or fetching of RSS feed fails another
  961. # attempt is made after the retry interval (option <UrlInterval>).
  962. UrlRetries=3
  963.  
  964. # URL fetching retry interval (seconds).
  965. #
  966. # If fetching of nzb-file via URL or fetching of RSS feed fails another
  967. # attempt is made after the retry interval.
  968. UrlInterval=10
  969.  
  970. # Connection timeout for URL fetching (seconds).
  971. #
  972. # Connection timeout when fetching nzb-files via URLs and fetching RSS feeds.
  973. UrlTimeout=60
  974.  
  975. # Timeout until a download-thread should be killed (seconds).
  976. #
  977. # This can help on hanging downloads, but is dangerous.
  978. # Do not use small values!
  979. TerminateTimeout=180
  980.  
  981. # Set the maximum download rate on program start (kilobytes/sec).
  982. #
  983. # The download rate can be changed later in web-interface or via remote calls.
  984. #
  985. # Value "0" means no speed control.
  986. DownloadRate=0
  987.  
  988. # Accurate speed rate calculation (yes, no).
  989. #
  990. # During downloading using several connections the download threads may
  991. # interfere with each other when updating statistical data for speed
  992. # meter. This may cause small errors in current download speed reported
  993. # by the program. The speed meter recovers automatically from such errors
  994. # after max. 30 seconds (time window used for speed calculation).
  995. #
  996. # Enable the option to use thread synchronisation mechanisms in order to
  997. # provide absolutely accurate speed calculations.
  998. #
  999. # NOTE: Thread synchronisation increases CPU load and therefore can
  1000. # decrease download speed. Do not activate this option on computers with
  1001. # limited CPU power. Before activating the option it is recommended to
  1002. # run tests to determine how the option affects the CPU usage and the
  1003. # download speed on a particular system.
  1004. AccurateRate=no
  1005.  
  1006. # Maximum number of simultaneous connections for nzb URL downloads (0-999).
  1007. #
  1008. # When NZB-files are added to queue via URL, the program downloads them
  1009. # from the specified URL. The option limits the maximal number of connections
  1010. # used for this purpose, when multiple URLs were added at the same time.
  1011. UrlConnections=4
  1012.  
  1013. # Force URL-downloads even if download queue is paused (yes, no).
  1014. #
  1015. # If option is active the URL-downloads (such as appending of nzb-files
  1016. # via URL or fetching of RSS feeds and nzb-files from feeds) are performed
  1017. # even if download is in paused state.
  1018. UrlForce=yes
  1019.  
  1020. # Monthly download volume quota (megabytes).
  1021. #
  1022. # During download the quota is constantly monitored and the downloading
  1023. # is automatically stopped if the limit is reached. Once the next billing month
  1024. # starts the "quota reached"-status is automatically lifted and the downloading
  1025. # continues.
  1026. #
  1027. # Downloads with force-priority are processed regardless of quota status.
  1028. #
  1029. # Value "0" disables monthly quota check.
  1030. MonthlyQuota=0
  1031.  
  1032. # Day of month when the monthly quota starts (1-31).
  1033. QuotaStartDay=1
  1034.  
  1035. # Daily download volume quota (megabytes).
  1036. #
  1037. # See option <MonthlyQuota> for details.
  1038. #
  1039. # Value "0" disables daily quota check.
  1040. DailyQuota=0
  1041.  
  1042.  
  1043. ##############################################################################
  1044. ### LOGGING ###
  1045.  
  1046. # How to use log file (none, append, reset, rotate).
  1047. #
  1048. # none - do not write into log file;
  1049. # append - append to the existing log file or create it;
  1050. # reset - delete existing log file on program start and create a new one;
  1051. # rotate - create new log file for each day, delete old files,
  1052. # see option <RotateLog>.
  1053. WriteLog=append
  1054.  
  1055. # Log file rotation period (days).
  1056. #
  1057. # Defines how long to keep old log-files, when log rotation is active
  1058. # (option <WriteLog> is set to "rotate").
  1059. RotateLog=3
  1060.  
  1061. # How error messages must be printed (screen, log, both, none).
  1062. ErrorTarget=both
  1063.  
  1064. # How warning messages must be printed (screen, log, both, none).
  1065. WarningTarget=both
  1066.  
  1067. # How info messages must be printed (screen, log, both, none).
  1068. InfoTarget=both
  1069.  
  1070. # How detail messages must be printed (screen, log, both, none).
  1071. DetailTarget=log
  1072.  
  1073. # How debug messages must be printed (screen, log, both, none).
  1074. #
  1075. # Debug-messages can be printed only if the program was compiled in
  1076. # debug-mode: "./configure --enable-debug".
  1077. DebugTarget=log
  1078.  
  1079. # Number of messages stored in buffer and available for remote
  1080. # clients (messages).
  1081. LogBufferSize=1000
  1082.  
  1083. # Create log for each downloaded nzb-file (yes, no).
  1084. #
  1085. # The messages are saved for each download separately and can be viewed
  1086. # at any time in download details dialog or history details dialog.
  1087. NzbLog=yes
  1088.  
  1089. # Create a log of all broken files (yes, no).
  1090. #
  1091. # It is a text file placed near downloaded files, which contains
  1092. # the names of broken files.
  1093. BrokenLog=yes
  1094.  
  1095. # Create memory dump (core-file) on abnormal termination, Linux only (yes, no).
  1096. #
  1097. # Core-files are very helpful for debugging.
  1098. #
  1099. # NOTE: Core-files may contain sensitive data, like your login/password to
  1100. # newsserver etc.
  1101. CrashDump=no
  1102.  
  1103. # Local time correction (hours or minutes).
  1104. #
  1105. # The option allows to adjust timestamps when converting system time to
  1106. # local time and vice versa. The conversion is used when printing messages
  1107. # to the log-file and by option "TaskX.Time" in the scheduler settings.
  1108. #
  1109. # The option is usually not needed if the time zone is set up correctly.
  1110. # However, sometimes, especially when using a binary compiled on another
  1111. # platform (cross-compiling) the conversion between system and local time
  1112. # may not work properly and requires adjustment.
  1113. #
  1114. # Values in the range -24..+24 are interpreted as hours, other values as minutes.
  1115. # Example 1: set time correction to one hour: TimeCorrection=1;
  1116. # Example 2: set time correction to one hour and a half: TimeCorrection=90.
  1117. TimeCorrection=0
  1118.  
  1119.  
  1120. ##############################################################################
  1121. ### DISPLAY (TERMINAL) ###
  1122.  
  1123. # Set screen-outputmode (loggable, colored, curses).
  1124. #
  1125. # loggable - only messages will be printed to standard output;
  1126. # colored - prints messages (with simple coloring for messages categories)
  1127. # and download progress info; uses escape-sequences to move cursor;
  1128. # curses - advanced interactive interface with the ability to edit
  1129. # download queue and various output option.
  1130. OutputMode=curses
  1131.  
  1132. # Shows NZB-Filename in file list in curses-outputmode (yes, no).
  1133. #
  1134. # This option controls the initial state of curses-frontend,
  1135. # it can be switched on/off in run-time with Z-key.
  1136. CursesNzbName=yes
  1137.  
  1138. # Show files in groups (NZB-files) in queue list in curses-outputmode (yes, no).
  1139. #
  1140. # This option controls the initial state of curses-frontend,
  1141. # it can be switched on/off in run-time with G-key.
  1142. CursesGroup=no
  1143.  
  1144. # Show timestamps in message list in curses-outputmode (yes, no).
  1145. #
  1146. # This option controls the initial state of curses-frontend,
  1147. # it can be switched on/off in run-time with T-key.
  1148. CursesTime=no
  1149.  
  1150. # Update interval for Frontend-output in console mode or remote client
  1151. # mode (milliseconds).
  1152. #
  1153. # Min value 25. Bigger values reduce CPU usage (especially in curses-outputmode)
  1154. # and network traffic in remote-client mode.
  1155. UpdateInterval=200
  1156.  
  1157.  
  1158. ##############################################################################
  1159. ### SCHEDULER ###
  1160.  
  1161. # Time to execute the command (HH:MM).
  1162. #
  1163. # Multiple comma-separated values are accepted.
  1164. # An asterisk placed in the hours location will run task every hour (e. g. "*:00").
  1165. # An asterisk without minutes will run task at program startup (e. g. "*").
  1166. #
  1167. # Examples: "08:00", "00:00,06:00,12:00,18:00", "*:00", "*,*:00,*:30".
  1168. #
  1169. # NOTE: Also see option <TimeCorrection>.
  1170. #Task1.Time=08:00
  1171.  
  1172. # Week days to execute the command (1-7).
  1173. #
  1174. # Comma separated list of week days numbers.
  1175. # 1 is Monday.
  1176. # Character '-' may be used to define ranges.
  1177. #
  1178. # Examples: "1-7", "1-5", "5,6", "1-5, 7".
  1179. #Task1.WeekDays=1-7
  1180.  
  1181. # Command to be executed (PauseDownload, UnpauseDownload, PausePostProcess,
  1182. # UnpausePostProcess, PauseScan, UnpauseScan, DownloadRate, Script, Process,
  1183. # ActivateServer, DeactivateServer, FetchFeed).
  1184. #
  1185. # Possible commands:
  1186. # PauseDownload - pause download;
  1187. # UnpauseDownload - resume download;
  1188. # PausePostProcess - pause post-processing;
  1189. # UnpausePostProcess - resume post-processing;
  1190. # PauseScan - pause scan of incoming nzb-directory;
  1191. # UnpauseScan - resume scan of incoming nzb-directory;
  1192. # DownloadRate - set download rate limit;
  1193. # Script - execute one or multiple scheduler scripts. The scripts
  1194. # must be written specially for NZBGet;
  1195. # Process - execute an external (any) program;
  1196. # ActivateServer - activate news-server;
  1197. # DeactivateServer - deactivate news-server;
  1198. # FetchFeed - fetch RSS feed.
  1199. #
  1200. # On start the program checks all tasks and determines current state
  1201. # for download-pause, scan-pause, download-rate and active servers.
  1202. #Task1.Command=PauseDownload
  1203.  
  1204. # Parameters for the command if needed.
  1205. #
  1206. # Some scheduler commands require additional parameters:
  1207. # DownloadRate - download rate limit to be set (kilobytes/sec).
  1208. # Example: 1000;
  1209. # Script - list of scheduler scripts to execute. The scripts in the
  1210. # list must be separated with commas or semicolons. All
  1211. # scripts must be stored in directory set by option
  1212. # <ScriptDir> and paths relative to <ScriptDir> must be
  1213. # entered here. For developer documentation visit
  1214. # http://nzbget.net/Extension_scripts;
  1215. # Process - path to the program to execute and its parameters.
  1216. # Example: /home/user/fetch.sh.
  1217. # If filename or any parameter contains spaces it
  1218. # must be surrounded with single quotation
  1219. # marks. If filename/parameter contains single quotation marks,
  1220. # each of them must be replaced (escaped) with two single quotation
  1221. # marks and the resulting filename/parameter must be
  1222. # surrounded with single quotation marks.
  1223. # Example: '/home/user/download/my scripts/task process.sh' 'world''s fun'.
  1224. # In this example one parameter (world's fun) is passed
  1225. # to the script (task process.sh).
  1226. # ActivateServer - comma separated list of news server ids or server names.
  1227. # Example: 1,3.
  1228. # Example: my news server 1, my news server 2.
  1229. # NOTE: server names should not have commas.
  1230. # DeactivateServer - see ActivateServer.
  1231. # FetchFeed - comma separated list of RSS feed ids or feed names.
  1232. # Example: 1,3.
  1233. # Example: bookmarks feed, another feed.
  1234. # NOTE: feed names should not have commas.
  1235. # NOTE: use feed id "0" to fetch all feeds.
  1236. #Task1.Param=
  1237.  
  1238. #Task2.Time=20:00
  1239. #Task2.WeekDays=1-7
  1240. #Task2.Command=UnpauseDownload
  1241. #Task2.Param=
  1242.  
  1243.  
  1244. ##############################################################################
  1245. ### CHECK AND REPAIR ###
  1246.  
  1247. # Whether and how par-verification must be performed (auto, always, force, manual).
  1248. #
  1249. # Auto - par-check is performed when needed. One par2-file is always
  1250. # downloaded. Additional par2-files are downloaded if needed
  1251. # for repair. Repair is performed if the option <ParRepair>
  1252. # is enabled;
  1253. # Always - check every download (even undamaged). One par2-file is
  1254. # always downloaded. Additional par2-files are downloaded
  1255. # if needed for repair. Repair is performed if the option
  1256. # <ParRepair> is enabled;
  1257. # Force - force par-check for every download (even undamaged). All
  1258. # par2-files are always downloaded. Repair is performed if
  1259. # the option <ParRepair> is enabled;
  1260. # Manual - par-check is skipped. One par2-file is always
  1261. # downloaded. If a damaged download is detected, all
  1262. # par2-files are downloaded but neither par-check nor par-repair
  1263. # take place. The download can be then repaired manually,
  1264. # eventually on another faster computer.
  1265. ParCheck=force
  1266.  
  1267. # Automatic par-repair after par-verification (yes, no).
  1268. #
  1269. # If option <ParCheck> is set to "Auto" or "Force" this option defines
  1270. # if the download must be repaired when needed. The option can be
  1271. # disabled if a computer does not have enough CPU power, since repairing
  1272. # may consume too many resources and time on a slow computer.
  1273. ParRepair=no
  1274.  
  1275. # What files should be scanned during par-verification (limited, extended,
  1276. # full, dupe).
  1277. #
  1278. # Limited - scan only files belonging to par-set;
  1279. # Extended - scan files belonging to par-set first, scan other files until
  1280. # all missing files are found;
  1281. # Full - scan all files in destination directory. Can be very time
  1282. # consuming but may sometimes repair where Limited and Extended fail;
  1283. # Dupe - scan files belonging to par-set first, scan other files until
  1284. # repair is possible. Even files from other duplicate-downloads
  1285. # are scanned. Can be very time consuming but brings best results.
  1286. ParScan=extended
  1287.  
  1288. # Quick file verification during par-check (yes, no).
  1289. #
  1290. # If the option is active the files are quickly verified using
  1291. # checksums calculated during download; quick verification is very fast
  1292. # because it doesn't require the reading of files from disk, NZBGet
  1293. # knows checksums of downloaded files and quickly compares them with
  1294. # checksums stored in the par-file.
  1295. #
  1296. # If the option is disabled the files are verified as usual. That's
  1297. # slow. Use this if the quick verification doesn't work properly.
  1298. ParQuick=yes
  1299.  
  1300. # Memory limit for par-repair buffer (megabytes).
  1301. #
  1302. # Set the amount of RAM that the par-checker may use during repair. Having
  1303. # the buffer as big as the total size of all damaged blocks allows for
  1304. # the optimal repair speed. The option sets the maximum buffer size, the
  1305. # allocated buffer can be smaller.
  1306. #
  1307. # If you have a lot of RAM set the option to few hundreds (MB) for the
  1308. # best repair performance.
  1309. ParBuffer=250
  1310.  
  1311. # Number of threads to use during par-repair (0-99).
  1312. #
  1313. # On multi-core CPUs for the best speed set the option to the number of
  1314. # logical cores (physical cores + hyper-threading units). If you want
  1315. # to utilize the CPU to 100% you may need to add one or two additional threads
  1316. # to compensate for wait intervals used for thread synchronization.
  1317. #
  1318. # On single-core CPUs use only one thread.
  1319. #
  1320. # Set to '0' to automatically use all available CPU cores (may not
  1321. # work on old or exotic platforms).
  1322. ParThreads=0
  1323.  
  1324. # Files to ignore during par-check.
  1325. #
  1326. # List of file extensions, file names or file masks to ignore by
  1327. # par-rename and par-check. The entries must be separated with
  1328. # commas.
  1329. #
  1330. # The entries must be separated with commas. The entries can be file
  1331. # extensions, file names or file masks containing wildcard
  1332. # characters * and ?.
  1333. #
  1334. # If par-rename or par-check detect missing or damaged files they
  1335. # will ignore files matching this option and will not initiate
  1336. # repair. This avoids time costing repair for unimportant files.
  1337. #
  1338. # Example: .sfv, .nzb, .nfo
  1339. ParIgnoreExt=.sfv, .nzb, .nfo
  1340.  
  1341. # Check for renamed and missing files using par-files (yes, no).
  1342. #
  1343. # Par-rename restores original file names using information stored
  1344. # in par2-files. It also detects missing files (files listed in
  1345. # par2-files but not present on disk). When enabled the par-rename is
  1346. # performed as the first step of post-processing for every nzb-file.
  1347. #
  1348. # Par-rename is very fast and is highly recommended, especially if
  1349. # unpack is disabled.
  1350. ParRename=yes
  1351.  
  1352. # Check for renamed rar-files (yes, no).
  1353. #
  1354. # Rar-rename restores original file names using information stored
  1355. # in rar-files. When enabled the rar-rename is performed as one of the
  1356. # first steps of post-processing for every nzb-file.
  1357. #
  1358. # Rar-rename is useful for downloads not having par2-files or for
  1359. # downloads those files were renamed before creating par2-files. In
  1360. # both cases par-rename (option <ParRename>) can't rename files
  1361. # and the rar-rename makes it possible to unpack downloads which
  1362. # would fail otherwise.
  1363. RarRename=yes
  1364.  
  1365. # What to do if download health drops below critical health (delete, park,
  1366. # pause, none).
  1367. #
  1368. # Delete - delete nzb-file from queue, also delete already downloaded files;
  1369. # Park - move nzb-file to history, keep already downloaded files. Commands
  1370. # "Download remaining files" and "Retry failed articles" are available
  1371. # for this nzb;
  1372. # Pause - pause nzb-file;
  1373. # None - do nothing (continue download).
  1374. #
  1375. # NOTE: For automatic duplicate handling option must be set to "Delete", "Park"
  1376. # or "None". If it is set to "Pause" you will need to manually move another
  1377. # duplicate from history to queue. See also option <DupeCheck>.
  1378. #
  1379. # NOTE: When option <ParScan> is set to "Dupe" the park-action is performed
  1380. # only if article completion is below 10% (empirical threshold). This is to
  1381. # improve efficiency of dupe par scan mode.
  1382. HealthCheck=park
  1383.  
  1384. # Maximum allowed time for par-repair (minutes).
  1385. #
  1386. # If you use NZBGet on a very slow computer like NAS-device, it may be good to
  1387. # limit the time allowed for par-repair. NZBGet calculates the estimated time
  1388. # required for par-repair. If the estimated value exceeds the limit defined
  1389. # here, NZBGet cancels the repair.
  1390. #
  1391. # To avoid a false cancellation NZBGet compares the estimated time with
  1392. # <ParTimeLimit> after the first 5 minutes of repairing, when the calculated
  1393. # estimated time is more or less accurate. But in a case if <ParTimeLimit> is
  1394. # set to a value smaller than 5 minutes, the comparison is made after the first
  1395. # whole minute.
  1396. #
  1397. # Value "0" means unlimited.
  1398. #
  1399. # NOTE: The option limits only the time required for repairing. It doesn't
  1400. # affect the first stage of parcheck - verification of files. However, the
  1401. # verification speed is constant, it doesn't depend on files integrity and
  1402. # therefore it is not necessary to limit the time needed for the first stage.
  1403. ParTimeLimit=0
  1404.  
  1405. # Pause download queue during check/repair (yes, no).
  1406. #
  1407. # Enable the option to give CPU more time for par-check/repair. That helps
  1408. # to speed up check/repair on slow CPUs with fast connection (e.g. NAS-devices).
  1409. #
  1410. # NOTE: If parchecker needs additional par-files it temporarily unpauses
  1411. # the queue.
  1412. #
  1413. # NOTE: See also options <ScriptPauseQueue> and <UnpackPauseQueue>.
  1414. ParPauseQueue=no
  1415.  
  1416.  
  1417. ##############################################################################
  1418. ### UNPACK ###
  1419.  
  1420. # Unpack downloaded nzb-files (yes, no).
  1421. #
  1422. # Each download (nzb-file) has a post-processing parameter "Unpack". The option
  1423. # <Unpack> is the default value assigned to this pp-parameter of the download
  1424. # when it is added to queue.
  1425. #
  1426. # When nzb-file is added to queue it can have a category assigned to it. In this
  1427. # case the option <CategoryX.Unpack> overrides the global option <Unpack>.
  1428. #
  1429. # If the download is damaged and could not be repaired using par-files
  1430. # the unpacking is not performed.
  1431. #
  1432. # If the option <ParCheck> is set to "Auto" the program tries to unpack
  1433. # downloaded files first. If the unpacking fails the par-check/repair
  1434. # is performed and the unpack is executed again.
  1435. Unpack=no
  1436.  
  1437. # Pause download queue during unpack (yes, no).
  1438. #
  1439. # Enable the option to give CPU more time for unpacking. That helps
  1440. # to speed up unpacking on slow CPUs.
  1441. #
  1442. # NOTE: See also options <ParPauseQueue> and <ScriptPauseQueue>.
  1443. UnpackPauseQueue=yes
  1444.  
  1445. # Delete archive files after successful unpacking (yes, no).
  1446. UnpackCleanupDisk=no
  1447.  
  1448. # Full path to unrar executable.
  1449. #
  1450. # Example: /usr/bin/unrar.
  1451. #
  1452. # The option can also contain extra switches to pass to unrar. To the
  1453. # here defined command line NZBGet adds the following switches:
  1454. # x -y -p- -o+ *.rar ./_unpack/
  1455. #
  1456. # Switch "x" is added only if neither "x" nor "e" were defined in
  1457. # the option (this allows you to use switch "e" instead of "x"). switch
  1458. # "-o+" is added only if neither "-o+" nor "-o-" were defined
  1459. # in the command line. All other parameters are always added. Parameter
  1460. # "-p-" is replaced with "-ppassword" if a password is set for nzb-file.
  1461. #
  1462. # Examples:
  1463. # 1) ignore file attributes (permissions):
  1464. # /usr/bin/unrar x -ai;
  1465. # 2) decrease priority of unrar-process:
  1466. # nice -n 19 unrar.
  1467. #
  1468. # For other useful switches refer to unrar documentation.
  1469. #
  1470. # If unrar is in your PATH you may leave the path part and set only
  1471. # the executable name ("unrar" on POSIX or "unrar.exe" on Windows).
  1472. UnrarCmd=${AppDir}\unrar.exe
  1473.  
  1474. # Full path to 7-Zip executable.
  1475. #
  1476. # Example: /usr/bin/7z.
  1477. #
  1478. # Similar to option <UnrarCmd> this option can also include extra switches.
  1479. #
  1480. # If 7-Zip binary is in your PATH you may leave the path part and set only
  1481. # the executable name ("7z" or "7za" on POSIX or "7z.exe" on Windows).
  1482. SevenZipCmd=7z
  1483.  
  1484. # Files to delete after successful download.
  1485. #
  1486. # List of file extensions, file names or file masks to delete after
  1487. # successful download. If either unpack or par-check fail the cleanup is
  1488. # not performed. If download doesn't contain archives nor par-files
  1489. # the cleanup is performed if the health is 100%. If parameter "unpack"
  1490. # is disabled for that nzb-file the cleanup isn't performed.
  1491. #
  1492. # The entries must be separated with commas. The entries can be file
  1493. # extensions, file names or file masks containing wildcard
  1494. # characters * and ?.
  1495. #
  1496. # Example: .par2, .sfv
  1497. ExtCleanupDisk=_brokenlog.txt
  1498.  
  1499. # Files to ignore during unpack.
  1500. #
  1501. # List of file extensions to ignore when unpacking archives or renaming
  1502. # obfuscated archive files. The entries must be separated with commas.
  1503. #
  1504. # Archive files with non standard extensions belong to one of two categories: they
  1505. # are either obfuscated files or files with special purposes which should not be
  1506. # unpacked. List the files of second type here to avoid attempts to unpack them.
  1507. #
  1508. # This option has effect on two post-processing stages.
  1509. #
  1510. # First, during rar-rename (option <RarRename>) rar-files with non-standard
  1511. # extensions are renamed back to rar-extension, which is required for successful
  1512. # unpacking. Files with extensions listed here will not be renamed.
  1513. #
  1514. # Second, if during unpack no rar-files are found but instead rar-archives
  1515. # with non-rar extensions are found the unpack fails. For files listed here
  1516. # no unpack failure occurs and download is considered not having archive
  1517. # files and be successful.
  1518. #
  1519. # Example: .cbr
  1520. UnpackIgnoreExt=.cbr
  1521.  
  1522. # Path to file containing unpack passwords.
  1523. #
  1524. # If the option is set the program will try all passwords from the file
  1525. # when unpacking the archives. The file must be a text file containing
  1526. # one password per line.
  1527. #
  1528. # If an nzb-file has a defined password (in the post-processing settings)
  1529. # then the password-file is not used for that nzb-file.
  1530. #
  1531. # NOTE: Trying multiple passwords is a time consuming task. Whenever possible
  1532. # passwords should be set per nzb-file in their post-processing settings.
  1533. UnpackPassFile=
  1534.  
  1535.  
  1536. ##############################################################################
  1537. ### EXTENSION SCRIPTS ###
  1538.  
  1539. # List of active extension scripts for new downloads.
  1540. #
  1541. # Extension scripts associated with nzb-files are executed before, during
  1542. # or after download as defined by script developer.
  1543. #
  1544. # Each download (nzb-file) has its own list of extension scripts; the list
  1545. # can be viewed and changed in web-interface in download details dialog or
  1546. # via API. Option <Extensions> sets defaults for new downloads; changes
  1547. # to option <Extensions> do not affect downloads which are already in queue.
  1548. #
  1549. # When nzb-file is added to queue it can have a category assigned to it. In this
  1550. # case option <CategoryX.Extensions> (if not empty) have precedence and
  1551. # defines the scripts for that nzb-file; consequently global option <Extensions>
  1552. # has no effect for that nzb-file.
  1553. #
  1554. # Certain extensions work globally for the whole program instead of
  1555. # per-nzb basis. Such extensions are activated once and cannot be overriden
  1556. # per category or per nzb.
  1557. #
  1558. # The scripts in the list must be separated with commas or semicolons. All
  1559. # scripts must be stored in directory set by option <ScriptDir> and
  1560. # paths relative to <ScriptDir> must be entered here.
  1561. #
  1562. # Example: Cleanup.sh, Move.sh, EMail.py.
  1563. #
  1564. # NOTE: The script execution order is controlled by option <ScriptOrder>, not
  1565. # by their order in option <Extensions>.
  1566. #
  1567. # NOTE: For the list of interesting extension scripts see
  1568. # http://nzbget.net/Catalog_of_post-processing_scripts.
  1569. #
  1570. # NOTE: For developer documentation visit http://nzbget.net/Extension_scripts.
  1571. Extensions=
  1572.  
  1573. # Execution order for extension scripts.
  1574. #
  1575. # If you assign multiple scripts to one nzb-file, they are executed in the
  1576. # order defined by this option.
  1577. #
  1578. # The scripts in the list must be separated with commas or semicolons. All
  1579. # scripts must be stored in directory set by option <ScriptDir> and
  1580. # paths relative to <ScriptDir> must be entered here.
  1581. #
  1582. # Example: Cleanup.sh, Move.sh.
  1583. ScriptOrder=
  1584.  
  1585. # Pause download queue during executing of postprocess-script (yes, no).
  1586. #
  1587. # Enable the option to give CPU more time for postprocess-script. That helps
  1588. # to speed up postprocess on slow CPUs with fast connection (e.g. NAS-devices).
  1589. #
  1590. # NOTE: See also options <ParPauseQueue> and <UnpackPauseQueue>.
  1591. ScriptPauseQueue=no
  1592.  
  1593. # Shell overrides for script interpreters.
  1594. #
  1595. # By default extension scripts are executed as normal programs. The system finds
  1596. # an associated interpreter automatically. If for some reason that doesn't work
  1597. # properly you can provide shell overrides here.
  1598. #
  1599. # This option contains a comma separated list of shell overrides per
  1600. # file extension. A shell override consists of file extension (starting with
  1601. # dot) followed by equal sign and the full path to script interpreter.
  1602. #
  1603. # Example: .py=/usr/bin/python2;.py3=/usr/bin/python3;.sh=/usr/bin/bash.
  1604. ShellOverride=
  1605.  
  1606. # Minimum interval between queue events (seconds).
  1607. #
  1608. # Extension scripts can opt-in for progress notifcations during
  1609. # download. For downloads containing many small files the events can
  1610. # be fired way too often increasing load on the system due to script
  1611. # execution.
  1612. #
  1613. # This option allows to reduce the number of calls of scripts by
  1614. # skipping "file-downloaded"-events if the previous call for the same
  1615. # download (nzb-file) were performed a short time ago (as defined by
  1616. # the option).
  1617. #
  1618. # Value "-1" disables "file-downloaded"-events. Scripts are still
  1619. # notified on other events (such as "nzb-added" or "nzb-downloaded").
  1620. EventInterval=0
  1621. Category2.DestDir=${MainDir}\complete
  1622. Category2.Unpack=yes
  1623. Category2.Extensions=
  1624. Category2.Aliases=
  1625. Category3.DestDir=${MainDir}\complete
  1626. Category3.Unpack=yes
  1627. Category3.Extensions=
  1628. Category3.Aliases=
  1629. Category4.DestDir=${MainDir}\complete
  1630. Category4.Unpack=yes
  1631. Category4.Extensions=
  1632. Category4.Aliases=
  1633. EMail.py:SendMail=Always
  1634. EMail.py:From="NZBGet" <myaccount@gmail.com>
  1635. EMail.py:To=myaccount@gmail.com
  1636. EMail.py:Server=smtp.gmail.com
  1637. EMail.py:Port=25
  1638. EMail.py:Encryption=yes
  1639. EMail.py:Username=myaccount
  1640. EMail.py:Password=mypass
  1641. EMail.py:Statistics=yes
  1642. EMail.py:FileList=yes
  1643. EMail.py:BrokenLog=yes
  1644. EMail.py:NzbLog=OnFailure
  1645. Server2.Active=yes
  1646. Server2.Name=UseNetFarm
  1647. Server2.Level=1
  1648. Server2.Optional=no
  1649. Server2.Group=0
  1650. Server2.Host=news.usenet.farm
  1651. Server2.Port=443
  1652. Server2.Username=Server2.Password=Server2.JoinGroup=no
  1653. Server2.Encryption=yes
  1654. Server2.Cipher=
  1655. Server2.Connections=20
  1656. Server2.Retention=0
  1657. Server3.Active=no
  1658. Server3.Name=Astraweb EU
  1659. Server3.Level=2
  1660. Server3.Optional=no
  1661. Server3.Group=0
  1662. Server3.Host=ssl-eu.astraweb.com
  1663. Server3.Port=443
  1664. Server3.Username=
  1665.  
  1666. Server3.Password=
  1667. Server3.JoinGroup=no
  1668. Server3.Encryption=yes
  1669. Server3.Cipher=
  1670. Server3.Connections=4
  1671. Server3.Retention=0
  1672. Server4.Active=no
  1673. Server4.Name=Astraweb US non ssl
  1674. Server4.Level=3
  1675. Server4.Optional=no
  1676. Server4.Group=0
  1677. Server4.Host=us.news.astraweb.com
  1678. Server4.Port=119
  1679. Server4.Username=Server4.Password=
  1680. Server4.JoinGroup=no
  1681. Server4.Encryption=no
  1682. Server4.Cipher=
  1683. Server4.Connections=2
  1684. Server4.Retention=0
  1685. CertStore=${AppDir}\cacert.pem
  1686. Server1.IpVersion=auto
  1687. Server1.Notes=
  1688. Server2.IpVersion=auto
  1689. Server2.Notes=
  1690. Server3.IpVersion=auto
  1691. Server3.Notes=
  1692. Server6.Active=no
  1693. Server6.Name=BlockNews
  1694. Server6.Level=4
  1695. Server6.Optional=no
  1696. Server6.Group=0
  1697. Server6.Host=eunews.blocknews.net
  1698. Server6.Port=443
  1699. Server6.Username=Server6.Password=Server6.JoinGroup=no
  1700. Server6.Encryption=yes
  1701. Server6.Cipher=
  1702. Server6.Connections=1
  1703. Server6.Retention=0
  1704. Server6.IpVersion=auto
  1705. Server6.Notes=
  1706. Server4.IpVersion=auto
  1707. Server4.Notes=
  1708. Server5.Active=no
  1709. Server5.Name=Astraweb EU non ssl
  1710. Server5.Level=3
  1711. Server5.Optional=no
  1712. Server5.Group=0
  1713. Server5.Host=eu.news.astraweb.com
  1714. Server5.Port=119
  1715. Server5.Username=Server5.Password=Server5.JoinGroup=no
  1716. Server5.Encryption=no
  1717. Server5.Cipher=
  1718. Server5.Connections=2
  1719. Server5.Retention=0
  1720. Server5.IpVersion=auto
  1721. Server5.Notes=
  1722. FormAuth=no
  1723. CertCheck=yes
  1724. FileNaming=auto
  1725. ReorderFiles=yes
  1726. CrashTrace=yes
  1727. DirectRename=no
  1728. DirectUnpack=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement