Advertisement
Guest User

Untitled

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