Advertisement
Guest User

Untitled

a guest
Jul 31st, 2016
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.34 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=/home/andre/Downloads/NZB
  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. #
  18. # It is allowed to enter multiple directories here by separating them with comma
  19. # or semicolon. NZBGet checks how much free disk space is available in each
  20. # directory (assuming all directories are located on different drives) and
  21. # chooses the directory with the most free space.
  22. DestDir=${MainDir}/dst
  23.  
  24. # Directory to store intermediate files.
  25. #
  26. # If this option is set (not empty) the files are downloaded into
  27. # this directory first. After successful download of nzb-file (possibly
  28. # after par-repair) the files are moved to destination directory
  29. # (option <DestDir>). If download or unpack fail the files remain in
  30. # intermediate directory.
  31. #
  32. # Using of intermediate directory can significantly improve unpack
  33. # performance if you can put intermediate directory (option <InterDir>)
  34. # and destination directory (option <DestDir>) on separate physical
  35. # hard drives.
  36. #
  37. # NOTE: If the option <InterDir> is set to empty value the downloaded
  38. # files are put directly to destination directory (option <DestDir>).
  39. InterDir=${MainDir}/inter
  40.  
  41. # Directory for incoming nzb-files.
  42. #
  43. # If a new nzb-file is added to queue via web-interface or RPC-API, it
  44. # is saved into this directory and then processed by preprocessing
  45. # script (option <ScanScript>).
  46. #
  47. # This directory is also monitored for new nzb-files. If a new file
  48. # is found it is added to download queue. The directory can have
  49. # sub-directories. A nzb-file queued from a subdirectory is automatically
  50. # assigned to category with sub-directory-name.
  51. NzbDir=/mnt/2TB_1/Black Hole
  52.  
  53. # Directory to store program state.
  54. #
  55. # This directory is used to save download queue, history, information
  56. # about fetched RSS feeds, statistics, etc.
  57. QueueDir=${MainDir}/queue
  58.  
  59. # Directory to store temporary files.
  60. TempDir=${MainDir}/tmp
  61.  
  62. # Directory with web-interface files.
  63. #
  64. # Example: /usr/local/share/nzbget/webui.
  65. #
  66. # NOTE: To disable web-interface set the option to an empty value.
  67. # This however doesn't disable the built-in web-server completely because
  68. # it is also used to serve JSON-/XML-RPC requests.
  69. WebDir=/home/andre/nzbget/webui
  70.  
  71. # Directory with post-processing and other scripts.
  72. #
  73. # This option may contain multiple directories separated with commas or semicolons.
  74. #
  75. # NOTE: For information on writing scripts visit http://nzbget.net/Extension_scripts.
  76. ScriptDir=/home/andre/nzbgetscripts
  77.  
  78. # Lock-file for daemon-mode, POSIX only.
  79. #
  80. # When started in daemon mode the program creates the lock file and
  81. # writes process-id (PID) into it. That info can be used in shell
  82. # scripts. If the lock file can not be created or the lock to the file
  83. # can not be acquired the daemon terminates, preventing unintentional
  84. # starting of multiple daemons.
  85. #
  86. # Set to empty value to disable the creating of the lock-file and the
  87. # check for another running instance (not recommended).
  88. LockFile=${MainDir}/nzbget.lock
  89.  
  90. # Where to store log file, if it needs to be created.
  91. #
  92. # NOTE: See also option <WriteLog>.
  93. LogFile=${DestDir}/nzbget.log
  94.  
  95. # Configuration file template.
  96. #
  97. # Put the path to the example configuration file which comes with
  98. # NZBGet. Web-interface needs this file to read option descriptions.
  99. #
  100. # Do not put here your actual configuration file (typically stored
  101. # in your home directory or in /etc/nzbget.conf) but instead the unchanged
  102. # example configuration file (installed to
  103. # /usr/local/share/nzbget/nzbget.conf).
  104. #
  105. # Example: /usr/local/share/nzbget/nzbget.conf.
  106. ConfigTemplate=/home/andre/nzbgetTemplate.conf
  107.  
  108. # Required directories.
  109. #
  110. # List of destination directories to be waited for on program start. Directories
  111. # must be separated with commas or semicolons.
  112. #
  113. # The list of directories is checked on program start. The program waits
  114. # until all directories become available before starting download or
  115. # post-processing. This is useful if the download destination is configured
  116. # on network or external drives, which may require some time to mount on boot.
  117. #
  118. # NOTE: Only directories used in option <InterDir> and option <DestDir>
  119. # (global or per-category) can be waited. Other directories, such as
  120. # option <TempDir>, option <NzbDir> and option <QueueDir> must be
  121. # available on program start.
  122.  
  123.  
  124. ##############################################################################
  125. ### NEWS-SERVERS ###
  126.  
  127. # This section defines which servers NZBGet should connect to.
  128. #
  129. # The servers should be numbered subsequently without holes.
  130. # For example if you configure three servers you should name them as Server1,
  131. # Server2 and Server3. If you need to delete Server2 later you should also
  132. # change the name of Server3 to Server2. Otherwise it will not be properly
  133. # read from the config file. Server number doesn't affect its priority (level).
  134.  
  135. # Use this news server (yes, no).
  136. #
  137. # Set to "no" to disable the server on program start. Servers can be activated
  138. # later via scheduler tasks or manually via web-interface.
  139. #
  140. # NOTE: Download is not possible when all servers on level 0 are disabled. Servers
  141. # on higher levels are used only if at least one server on level 0 was tried.
  142. Server1.Active=yes
  143.  
  144. # Name of news server.
  145. #
  146. # The name is used in UI and for logging. It can be any string, you
  147. # may even leave it empty.
  148. Server1.Name=Frugal Usenet
  149.  
  150. # Level (priority) of news server (0-99).
  151. #
  152. # The servers are ordered by their level. NZBGet first tries to download
  153. # an article from one (any) of level-0-servers. If that server fails,
  154. # NZBGet tries all other level-0-servers. If all servers fail, it proceeds
  155. # with the level-1-servers, etc.
  156. #
  157. # Put your major download servers at level 0 and your fill servers at
  158. # levels 1, 2, etc..
  159. #
  160. # Several servers with the same level may be defined, they have
  161. # the same priority.
  162. Server1.Level=0
  163.  
  164. # This is an optional non-reliable server (yes, no).
  165. #
  166. # Marking server as optional tells NZBGet to ignore this server if a
  167. # connection to this server cannot be established. Normally NZBGet
  168. # doesn't try upper-level servers before all servers on current level
  169. # were tried. If a connection to server fails NZBGet waits until the
  170. # server becomes available (it may try others from current level at this
  171. # time). This is usually what you want to avoid exhausting of
  172. # (costly) upper level servers if one of main servers is temporary
  173. # unavailable. However, for less reliable servers you may prefer to ignore
  174. # connection errors and go on with higher-level servers instead.
  175.  
  176. # Group of news server (0-99).
  177. #
  178. # If you have multiple accounts with same conditions (retention, etc.)
  179. # on the same news server, set the same group (greater than 0) for all
  180. # of them. If download fails on one news server, NZBGet does not try
  181. # other servers from the same group.
  182. #
  183. # Value "0" means no group defined (default).
  184. Server1.Group=0
  185.  
  186. # Host name of news server.
  187. Server1.Host=news.frugalusenet.com
  188.  
  189. # Port to connect to (1-65535).
  190. Server1.Port=563
  191.  
  192. # User name to use for authentication.
  193. Server1.Username=removed
  194.  
  195. # Password to use for authentication.
  196. Server1.Password=removed
  197.  
  198. # Server requires "Join Group"-command (yes, no).
  199. Server1.JoinGroup=no
  200.  
  201. # Encrypted server connection (TLS/SSL) (yes, no).
  202. #
  203. # NOTE: By changing this option you should also change the option <ServerX.Port>
  204. # accordingly because unsecure and encrypted connections use different ports.
  205. Server1.Encryption=yes
  206.  
  207. # Cipher to use for encrypted server connection.
  208. #
  209. # By default (when the option is empty) the underlying encryption library
  210. # chooses the cipher automatically. To achieve the best performance
  211. # however you can manually select a faster cipher.
  212. #
  213. # See http://nzbget.net/Choosing_a_cipher for details.
  214. #
  215. # NOTE: One of the fastest cipher is RC4. To select it use the cipher string
  216. # "RC4-MD5" (if NZBGet was configured to use OpenSSL) or
  217. # "NONE:+VERS-TLS-ALL:+ARCFOUR-128:+RSA:+MD5:+COMP-ALL"
  218. # (if NZBGet was configured to use GnuTLS). Note that RC4 is considered insecure
  219. # by the IETF (http://tools.ietf.org/html/rfc7465), but may be sufficient for
  220. # the usage of NZBGet.
  221. #
  222. # NOTE: You may get a TLS handshake error if the news server does
  223. # not support the chosen cipher. You can also get an error "Could not
  224. # select cipher for TLS" if the cipher string is not valid.
  225. Server1.Cipher=
  226.  
  227. # Maximum number of simultaneous connections to this server (0-999).
  228. Server1.Connections=50
  229.  
  230. # Server retention time (days).
  231. #
  232. # How long the articles are stored on the news server. The articles
  233. # whose age exceed the defined server retention time are not tried on
  234. # this news server, the articles are instead considered failed on this
  235. # news server.
  236. #
  237. # Value "0" disables retention check.
  238. Server1.Retention=600
  239.  
  240. # Second server, on level 0.
  241.  
  242. #Server2.Level=0
  243. #Server2.Host=my2.newsserver.com
  244. #Server2.Port=119
  245. #Server2.Username=me
  246. #Server2.Password=mypass
  247. #Server2.JoinGroup=yes
  248. #Server2.Connections=4
  249.  
  250. # Third server, on level 1.
  251.  
  252. #Server3.Level=1
  253. #Server3.Host=fills.newsserver.com
  254. #Server3.Port=119
  255. #Server3.Username=me2
  256. #Server3.Password=mypass2
  257. #Server3.JoinGroup=yes
  258. #Server3.Connections=1
  259.  
  260.  
  261. ##############################################################################
  262. ### SECURITY ###
  263.  
  264. # IP on which NZBGet server listen and which clients use to contact NZBGet.
  265. #
  266. # It could be a dns-hostname (e. g. "mypc") or an IP address (e. g. "192.168.1.2" or
  267. # "127.0.0.1"). An IP-address is more effective because does not require dns-lookup.
  268. #
  269. # Your computer may have multiple network interfaces and therefore multiple IP
  270. # addresses. If you want NZBGet to listen to all interfaces and be available from
  271. # all IP-addresses use value "0.0.0.0".
  272. #
  273. # NOTE: When you start NZBGet as client (to send remote commands to NZBGet server) and
  274. # the option <ControlIP> is set to "0.0.0.0" the client will use IP "127.0.0.1".
  275. #
  276. # NOTE: If you set the option to "127.0.0.1" you will be able to connect to NZBGet
  277. # only from the computer running NZBGet. This restriction applies to web-interface too.
  278. ControlIP=192.168.1.6
  279.  
  280. # Port which NZBGet server and remote client use (1-65535).
  281. #
  282. # NOTE: The communication via this port is not encrypted. For encrypted
  283. # communication see option <SecurePort>.
  284. ControlPort=7898
  285.  
  286. # User name which NZBGet server and remote client use.
  287. #
  288. # Set to empty value to disable user name check (check only password).
  289. #
  290. # NOTE: This option was added in NZBGet 11. Older versions used predefined
  291. # not changeable user name "nzbget". Third-party tools or web-sites written
  292. # for older NZBGet versions may not have an option to define user name. In
  293. # this case you should set option <ControlUsername> to the default value
  294. # "nzbget" or use empty value.
  295. ControlUsername=andre
  296.  
  297. # Password which NZBGet server and remote client use.
  298. #
  299. # Set to empty value to disable authorization request.
  300. ControlPassword=removed
  301.  
  302. # User name for restricted access.
  303. #
  304. # The restricted user can control the program with a few restrictions.
  305. # They have access to the web-interface and can see most of the program
  306. # settings. They however, can not change program settings, view security
  307. # related options or options provided by extension scripts.
  308. #
  309. # Use this user to connect to NZBGet from other programs and web-sites.
  310. #
  311. # In terms of RPC-API the user:
  312. # - cannot use method "saveconfig";
  313. # - methods "config" and "saveconfig" return string "***" for
  314. # options those content is protected from the user.
  315. #
  316. # Set to empty value to disable restricted user.
  317. #
  318. # NOTE: Don't forget to change default username/password of the control
  319. # user (options <ControlUsername> and <ControlPassword>).
  320.  
  321. # Password for restricted access.
  322. #
  323. # Set to empty value to disable password check.
  324.  
  325. # User name to add downloads via RPC-API.
  326. #
  327. # Use the AddUsername/AddPassword to give other programs or web-services
  328. # access to NZBGet with only two permissions:
  329. # - add new downloads using RPC-method "append";
  330. # - check program version using RPC-method "version".
  331. #
  332. # In a case the program/web-service needs more rights use the restricted
  333. # user instead (options <RestrictedUsername> and <RestrictedPassword>).
  334. #
  335. # Set to empty value to disable add-user.
  336. #
  337. # NOTE: Don't forget to change default username/password of the control
  338. # user (options <ControlUsername> and <ControlPassword>).
  339.  
  340. # Password for user with add downloads access.
  341. #
  342. # Set to empty value to disable password check.
  343.  
  344. # Secure control of NZBGet server (yes, no).
  345. #
  346. # Activate the option if you want to access NZBGet built-in web-server
  347. # via HTTPS (web-interface and RPC). You should also provide certificate
  348. # and key files, see option <SecureCert> and option <SecureKey>.
  349. SecureControl=no
  350.  
  351. # Port which NZBGet server and remote client use for encrypted
  352. # communication (1-65535).
  353. SecurePort=6791
  354.  
  355. # Full path to certificate file for encrypted communication.
  356. SecureCert=
  357.  
  358. # Full path to key file for encrypted communication.
  359. SecureKey=
  360.  
  361. # IP-addresses allowed to connect without authorization.
  362. #
  363. # Comma separated list of privileged IPs for easy access to NZBGet
  364. # built-in web-server (web-interface and RPC). The connected clients
  365. # have full unrestricted access.
  366. #
  367. # Example: 127.0.0.1,192.168.178.2.
  368. #
  369. # NOTE: Do not use this option if the program works behind another
  370. # web-server because all requests will have the address of this server.
  371. AuthorizedIP=192.168.1.*
  372.  
  373. # User name for daemon-mode, POSIX only.
  374. #
  375. # Set the user that the daemon normally runs at (POSIX in daemon-mode only).
  376. # Set MainDir with an absolute path to be sure where it will write.
  377. # This allows NZBGet daemon to be launched in rc.local (at boot), and
  378. # download items as a specific user id.
  379. #
  380. # NOTE: This option has effect only if the program was started from
  381. # root-account, otherwise it is ignored and the daemon runs under
  382. # current user id.
  383. DaemonUsername=root
  384.  
  385. # Specify default umask (affects file permissions) for newly created
  386. # files, POSIX only (000-1000).
  387. #
  388. # The value should be written in octal form (the same as for "umask" shell
  389. # command).
  390. # Empty value or value "1000" disable the setting of umask-mode; current
  391. # umask-mode (set via shell) is used in this case.
  392. UMask=1000
  393.  
  394.  
  395. ##############################################################################
  396. ### CATEGORIES ###
  397.  
  398. # This section defines categories available in web-interface.
  399.  
  400. # Category name.
  401. #
  402. # Each nzb-file can be assigned to a category.
  403. # Category name is passed to post-processing script and can be used by it
  404. # to perform category specific processing.
  405. Category1.Name=Movies
  406.  
  407. # Destination directory for this category.
  408. #
  409. # If this option is empty, then the default destination directory
  410. # (option <DestDir>) is used. In this case if the option <AppendCategoryDir>
  411. # is active, the program creates a subdirectory with category name within
  412. # destination directory.
  413. Category1.DestDir=
  414.  
  415. # Unpack downloaded nzb-files (yes, no).
  416. #
  417. # For more information see global option <Unpack>.
  418. Category1.Unpack=yes
  419.  
  420. # Default list of post-processing scripts.
  421. #
  422. # For more information see global option <PostScript>.
  423. Category1.PostScript=
  424.  
  425. # List of aliases.
  426. #
  427. # When a nzb-file is added from URL, RSS or RPC the category name
  428. # is usually supplied by nzb-site or by application accessing
  429. # NZBGet. Using Aliases you can match their categories with your owns.
  430. #
  431. # Separate aliases with commas or semicolons. Use wildcard characters
  432. # * and ? for pattern matching.
  433. #
  434. # Example: TV - HD, TV - SD, TV*
  435. Category1.Aliases=
  436.  
  437. Category2.Name=Series
  438. Category3.Name=Music
  439. Category4.Name=science
  440.  
  441.  
  442. ##############################################################################
  443. ### RSS FEEDS ###
  444.  
  445. # Name of RSS Feed.
  446. #
  447. # The name is used in UI and for logging. It can be any string.
  448. #Feed1.Name=my feed
  449.  
  450. # Address (URL) of RSS Feed.
  451. #
  452. # Example: https://myindexer.com/api?apikey=3544646bfd1c535a9654645609800901&t=search&q=game.
  453. #Feed1.URL=
  454.  
  455. # Filter rules for items.
  456. #
  457. # Use filter to ignore unwanted items in the feed. In its simplest version
  458. # the filter is a space separated list of words which must be present in
  459. # the item title.
  460. #
  461. # Example: linux debian dvd.
  462. #
  463. # MORE INFO:
  464. # NOTE: This is a short documentation, for more information visit
  465. # http://nzbget.net/RSS.
  466. #
  467. # Feed filter consists of rules - one rule per line. Each rule defines
  468. # a search string and a command, which must be performed if the search
  469. # string matches. There are five kinds of rule-commands: Accept,
  470. # Reject, Require, Options, Comment.
  471. #
  472. # NOTE: Since options in the configuration file can not span multiple
  473. # lines, the lines (rules) must be separated with %-character (percent).
  474. #
  475. # Definition of a rule:
  476. # [A:|A(options):|R:|Q:|O(options):|#] search-string
  477. #
  478. # A - declares Accept-rule. Rules are accept-rules by default, the
  479. # "A:" can be omitted. If the feed item matches to the rule the
  480. # item is considered good and no further rules are checked.
  481. # R - declares Reject-rule. If the feed item matches to the rule the
  482. # item is considered bad and no further rules are checked.
  483. # Q - declares Require-rule. If the feed item DOES NOT match to the rule
  484. # the item is considered bad and no further rules are checked.
  485. # O - declares Options-rule. If the feed item matches to the rule the
  486. # options declared in the rule are set for the item. The item is
  487. # neither accepted nor rejected via this rule but can be accepted
  488. # later by one of Accept-rules. In this case the item will have its
  489. # options already set (unless the Accept-rule overrides them).
  490. # # - lines starting with # are considered comments and are ignored. You
  491. # can use comments to explain complex rules or to temporary disable
  492. # rules for debugging.
  493. #
  494. # Options allow to set properties on nzb-file. It's a comma-separated
  495. # list of property names with their values.
  496. #
  497. # Definition of an option:
  498. # name:value
  499. #
  500. # Options can be defined using long option names or short names:
  501. # category (cat, c) - set category name, value is a string;
  502. # pause (p) - add nzb in paused or unpaused state, possible
  503. # values are: yes (y), no (n);
  504. # priority (pr, r) - set priority, value is a signed integer number;
  505. # priority+ (pr+, r+) - increase priority, value is a signed integer number;
  506. # dupescore (ds, s) - set duplicate score, value is a signed integer number;
  507. # dupescore+ (ds+, s+) - increase duplicate score, value is a signed integer number;
  508. # dupekey (dk, k) - set duplicate key, value is a string;
  509. # dupekey+ (dk+, k+) - add to duplicate key, value is a string;
  510. # dupemode (dm, m) - set duplicate check mode, possible values
  511. # are: score (s), all (a), force (f);
  512. # rageid - generate duplicate key using this rageid
  513. # (integer number) and season/episode numbers;
  514. # series - generate duplicate key using series identifier
  515. # (any unique string) and season/episode numbers.
  516. #
  517. # Examples of option definitions:
  518. # Accept(category:my series, pause:yes, priority:100): my show 1080p;
  519. # Options(c:my series, p:y, r:100): 1080p;
  520. # Options(s:1000): 1080p;
  521. # Options(k+:1080p): 1080p;
  522. # Options(dupemode:force): BluRay.
  523. #
  524. # Rule-options override values set in feed-options.
  525. #
  526. # The search-string is similar to used in search engines. It consists of
  527. # search terms separated with spaces. Every term is checked for a feed
  528. # item and if they all succeed the rule is considered matching.
  529. #
  530. # Definition of a term:
  531. # [+|-][field:][command]param
  532. #
  533. # + - declares a positive term. Terms are positive by default,
  534. # the "+" can be omitted;
  535. # - - declares a negative term. If the term succeeds the feed
  536. # item is ignored;
  537. # field - field to which apply the term. If not specified
  538. # the default field "title" is used;
  539. # command - a special character defining how to interpret the
  540. # parameter (followed after the command):
  541. # @ - search for string "param". This is default command,
  542. # the "@" can be omitted;
  543. # $ - "param" defines a regular expression (using POSIX Extended
  544. # Regular Expressions syntax);
  545. # = - equal;
  546. # < - less than;
  547. # <= - equal or less than;
  548. # > - greater than;
  549. # >= - equal or greater than;
  550. # param - parameter for command.
  551. #
  552. # Commands @ and $ are for use with text fields (title, filename, category,
  553. # link, description, dupekey). Commands =, <, <=, > and >= are for use
  554. # with numeric fields (size, age, imdbid, rageid, season, episode, priority,
  555. # dupescore).
  556. #
  557. # Only fields title, filename and age are always present. The availability of
  558. # other fields depend on rss feed provider.
  559. #
  560. # Any newznab attribute (encoded as "newznab:attr" in the RSS feed) can
  561. # be used as search field with prefix "attr-", for example "attr-genre".
  562. #
  563. # Text search (Command @) supports wildcard characters * (matches
  564. # any number of any characters), ? (matches any one character)
  565. # and # (matches one digit).
  566. # Text search is by default performed against words (word-search mode): the
  567. # field content is separated into words and then each word is checked
  568. # against pattern. If the search pattern starts and ends with * (star)
  569. # the search is performed against the whole field content
  570. # (substring-search mode). If the search pattern contains word separator
  571. # characters (except * and ?) the search is performed on the whole
  572. # field (the word-search would be obviously never successful in this
  573. # case). Word separators are: !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~.
  574. #
  575. # Field "size" can have suffixes "K" or "KB" for kilobytes, "M" or "MB"
  576. # for megabytes and "G" or "GB" for gigabytes. Field "age" can have
  577. # suffixes "m" for minutes, "h" for hours and "d" for days. If suffix
  578. # is not specified default is days.
  579. #
  580. # Examples (the trailing ; or . is not part of filter):
  581. # 1) A: s01* -category:anime;
  582. # 2) my show WEB-DL;
  583. # 3) *my?show* WEB-DL size:<1.8GB age:>2h;
  584. # 4) R: size:>9GB;
  585. # 5) Q: HDTV.
  586. #
  587. # NOTE: This is a short documentation, for more information visit
  588. # http://nzbget.net/RSS.
  589. #Feed1.Filter=
  590.  
  591. # How often to check for new items (minutes).
  592. #
  593. # Value "0" disables the automatic check of this feed.
  594. #Feed1.Interval=15
  595.  
  596. # Treat all items on first fetch as backlog (yes, no).
  597. #
  598. # yes - when the feed is fetched for the very first time (or after
  599. # changing of URL or filter) all existing items are ignored (marked
  600. # as backlog). The items found on subsequent fetches are processed;
  601. # no - all items are processed even on first fetch (or after
  602. # changing of URL or filter).
  603. #Feed1.Backlog=yes
  604.  
  605. # Add nzb-files as paused (yes, no).
  606. #Feed1.PauseNzb=no
  607.  
  608. # Category for added nzb-files.
  609. #
  610. # NOTE: Feed providers may include category name within response when nzb-file
  611. # is downloaded. If you want to use the providers category leave the option empty.
  612. #Feed1.Category=
  613.  
  614. # Priority for added nzb-files (number).
  615. #
  616. # Priority can be any integer value. The web-interface however operates
  617. # with only six predefined priorities: -100 (very low priority), -50
  618. # (low priority), 0 (normal priority, default), 50 (high priority),
  619. # 100 (very high priority) and 900 (force priority). Downloads with
  620. # priorities equal to or greater than 900 are downloaded and
  621. # post-processed even if the program is in paused state (force mode).
  622. #Feed1.Priority=0
  623.  
  624. # List of rss feed scripts to execute before rss feed content is processed.
  625. #
  626. # For more information see global option <FeedScript>.
  627. #Feed1.FeedScript=
  628.  
  629.  
  630. ##############################################################################
  631. ### INCOMING NZBS ###
  632.  
  633. # Create subdirectory with category-name in destination-directory (yes, no).
  634. AppendCategoryDir=yes
  635.  
  636. # How often incoming-directory (option <NzbDir>) must be checked for new
  637. # nzb-files (seconds).
  638. #
  639. # Value "0" disables the check.
  640. #
  641. # NOTE: nzb-files are processed by scan and queue scripts. See
  642. # options <ScanScript> and <QueueScript>.
  643. NzbDirInterval=1
  644.  
  645. # How old nzb-file should at least be for it to be loaded to queue (seconds).
  646. #
  647. # NZBGet checks if nzb-file was not modified in last few seconds, defined by
  648. # this option. That safety interval prevents the loading of files, which
  649. # were not yet completely saved to disk, for example if they are still being
  650. # downloaded in web-browser.
  651. NzbDirFileAge=3
  652.  
  653. # Check for duplicate titles (yes, no).
  654. #
  655. # If this option is enabled the program checks by adding of a new nzb-file:
  656. # 1) if history contains the same title (see below) with success status
  657. # the nzb-file is not added to queue;
  658. # 2) if download queue already contains the same title the nzb-file is
  659. # added to queue for backup (if the first file fails);
  660. # 3) if nzb-file contains duplicate entries. This helps to find errors
  661. # in bad nzb-files.
  662. #
  663. # "Same title" means the nzb file name is same or the duplicate key is
  664. # same. Duplicate keys are set by fetching from RSS feeds using title
  665. # identifier fields provided by RSS provider (imdbid or rageid/season/episode).
  666. #
  667. # If duplicates were detected only one of them is downloaded. If download
  668. # fails another duplicate is tried. If download succeeds all remaining
  669. # duplicates are deleted from queue.
  670. #
  671. # NOTE: For automatic duplicate handling option <HealthCheck> must be
  672. # set to "Delete", "Park" or "None". If it is set to "Pause" you will need to
  673. # manually unpause another duplicate (if any exists in queue).
  674. #
  675. # NOTE: For more info on duplicates see http://nzbget.net/RSS.
  676. DupeCheck=yes
  677.  
  678.  
  679. ##############################################################################
  680. ### DOWNLOAD QUEUE ###
  681.  
  682. # Save download queue to disk (yes, no).
  683. #
  684. # This allows to reload it on next start.
  685. SaveQueue=yes
  686.  
  687. # Flush download queue to disk (yes, no).
  688. #
  689. # Immediately flush file buffers for queue state file. This improves
  690. # safety for the queue file but may decrease disk performance due to
  691. # disabling of disk caching for queue state file.
  692. #
  693. # You can disable this option if it negatively affects disk performance on your
  694. # system. You should create backups of queue-directory (option <QueueDir>)
  695. # in that case. Keep the option enabled if your system often crashes.
  696.  
  697. # Reload download queue on start, if it exists (yes, no).
  698. ReloadQueue=yes
  699.  
  700. # Continue download of partially downloaded files (yes, no).
  701. #
  702. # If active the current state (the info about what articles were already
  703. # downloaded) is saved every second and is reloaded after restart. This is
  704. # about files included in download jobs (usually rar-files), not about
  705. # download-jobs (nzb-files) itself. Download-jobs are always
  706. # continued regardless of that option.
  707. #
  708. # Disabling this option may slightly reduce disk access and is
  709. # therefore recommended on fast connections.
  710. ContinuePartial=yes
  711.  
  712. # Propagation delay to your news servers (minutes).
  713. #
  714. # The option sets minimum post age for nzb-files. Very recent files
  715. # are not downloaded to avoid download failures. The files remain
  716. # on hold in the download queue until the propagation delay expires,
  717. # after that they are downloaded.
  718. PropagationDelay=0
  719.  
  720. # Decode articles (yes, no).
  721. #
  722. # yes - decode articles using internal decoder (supports yEnc and UU formats);
  723. # no - articles will not be decoded/joined. Useful to look at article's source text.
  724. #
  725. # NOTE: This option is primary for debugging purposes. You should not
  726. # disable it.
  727. Decode=yes
  728.  
  729. # Memory limit for article cache (megabytes).
  730. #
  731. # Article cache helps to improve performance. First the amount of disk
  732. # operations can be significantly reduced. Second the created files are
  733. # less fragmented, which again speeds up the post-processing (unpacking).
  734. #
  735. # The article cache works best with option <DirectWrite> which can
  736. # effectively use even small cache (like 50 MB).
  737. #
  738. # If option <DirectWrite> is disabled the cache should be big enough to
  739. # hold all articles of one file (typically up to 200 MB, sometimes even
  740. # 500 MB). Otherwise the articles are written into temporary directory
  741. # when the cache is full, which degrades performance.
  742. #
  743. # Value "0" disables article cache.
  744. #
  745. # In 32 bit mode the maximum allowed value is 1900.
  746. #
  747. # NOTE: Also see option <WriteBuffer>.
  748. ArticleCache=0
  749.  
  750. # Write decoded articles directly into destination output file (yes, no).
  751. #
  752. # Files are posted to Usenet in multiple pieces (articles). Each file
  753. # typically consists of hundreds of articles.
  754. #
  755. # When option <DirectWrite> is disabled and the article cache (option
  756. # <ArticleCache>) is not active or is full the program saves downloaded
  757. # articles into temporary directory and later reads them all to write
  758. # again into the destination file.
  759. #
  760. # When option <DirectWrite> is enabled the program at first creates the
  761. # output destination file with required size (total size of all articles),
  762. # then writes the articles directly to this file without creating of any
  763. # temporary files. If article cache (option <ArticleCache>) is active
  764. # the downloaded articles are saved into cache first and are written
  765. # into the destination file when the cache flushes. This happen when
  766. # all articles of the file are downloaded or when the cache becomes
  767. # full to 90%.
  768. #
  769. # The direct write relies on the ability of file system to create
  770. # empty files without allocating the space on the drive (sparse files),
  771. # which most modern file systems support including EXT3, EXT4
  772. # and NTFS. The notable exception is HFS+ (default file system on OSX).
  773. #
  774. # The direct write usually improves performance by reducing the amount
  775. # of disk operations but may produce more fragmented files when used
  776. # without article cache.
  777. DirectWrite=yes
  778.  
  779. # Memory limit for per article write buffer (kilobytes).
  780. #
  781. # When downloaded articles are written into disk the OS collects
  782. # data in the internal buffer before flushing it into disk. This option
  783. # controls the size of this buffer per connection/download thread.
  784. #
  785. # Larger buffers decrease the amount of disk operations and help
  786. # producing less fragmented files speeding up the post-processing
  787. # (unpack).
  788. #
  789. # To calculate the maximum memory required for all download threads multiply
  790. # WriteBuffer by number of connections configured in section
  791. # "NEWS-SERVERS". The option sets the limit, the actual buffer can be
  792. # smaller if the article size (typically about 500 KB) is below the limit.
  793. #
  794. # Write-buffer is managed by OS (system libraries) and therefore
  795. # the effect of the option is highly OS-dependent.
  796. #
  797. # Recommended value for computers with enough memory: 1024.
  798. #
  799. # Value "0" disables the setting of buffer size. In this case a buffer
  800. # of default size (OS and compiler specific) is used, which is usually
  801. # too small (1-4 KB) and therefore not optimal.
  802. #
  803. # NOTE: Also see option <ArticleCache>.
  804. WriteBuffer=0
  805.  
  806. # Check CRC of downloaded and decoded articles (yes, no).
  807. #
  808. # Normally this option should be enabled for better detecting of download
  809. # errors. However checking of CRC needs CPU time. On a fast connection and
  810. # slow CPU disabling of CRC-Check may improve performance.
  811. CrcCheck=yes
  812.  
  813. # How many retries should be attempted if a download error occurs (0-99).
  814. #
  815. # If download fails because of incomplete or damaged article or due to
  816. # CRC-error the program tries to re-download the article from the same
  817. # news server as many times as defined in option <Retries>. If all
  818. # attempts fail the program tries another news server.
  819. #
  820. # If download fails because of "article or group not found error" the
  821. # program tries another news server without retrying on the failed server.
  822. #
  823. # If download fails because of interrupted connection the program
  824. # tries another news server or the same server after the block interval
  825. # expires.
  826. Retries=3
  827.  
  828. # Wait interval between retries (seconds).
  829. #
  830. # If download of an article fails because of interrupted connection
  831. # the server is temporary blocked until the retry interval expires.
  832. RetryInterval=10
  833.  
  834. # Connection timeout for article downloading (seconds).
  835. ArticleTimeout=60
  836.  
  837. # Connection timeout for URL fetching (seconds).
  838. #
  839. # This includes fetching of nzb-files via URLs and fetching of RSS feeds.
  840. UrlTimeout=60
  841.  
  842. # Timeout until a download-thread should be killed (seconds).
  843. #
  844. # This can help on hanging downloads, but is dangerous.
  845. # Do not use small values!
  846. TerminateTimeout=600
  847.  
  848. # Set the maximum download rate on program start (kilobytes/sec).
  849. #
  850. # The download rate can be changed later via remote calls.
  851. #
  852. # Value "0" means no speed control.
  853. DownloadRate=0
  854.  
  855. # Accurate speed rate calculation (yes, no).
  856. #
  857. # During downloading using several connections the download threads may
  858. # interfere with each other when updating statistical data for speed
  859. # meter. This may cause small errors in current download speed reported
  860. # by the program. The speed meter recovers automatically from such errors
  861. # after max. 30 seconds (time window used for speed calculation).
  862. #
  863. # Enable the option to use thread synchronisation mechanisms in order to
  864. # provide absolutely accurate speed calculations.
  865. #
  866. # NOTE: Thread synchronisation increases CPU load and therefore can
  867. # decrease download speed. Do not activate this option on computers with
  868. # limited CPU power. Before activating the option it is recommended to
  869. # run tests to determine how the option affects the CPU usage and the
  870. # download speed on a particular system.
  871. AccurateRate=no
  872.  
  873. # Pause if disk space gets below this value (megabytes).
  874. #
  875. # Disk space is checked for directories pointed by option <DestDir> and
  876. # option <InterDir>.
  877. #
  878. # Value "0" disables the check.
  879. DiskSpace=250
  880.  
  881. # Delete source nzb-file when it is not needed anymore (yes, no).
  882. #
  883. # Enable this option for automatic deletion of source nzb-file from
  884. # incoming directory when the program doesn't require it anymore (the
  885. # nzb-file has been deleted from queue and history).
  886. NzbCleanupDisk=yes
  887.  
  888. # Keep the history of downloaded nzb-files (days).
  889. #
  890. # After download and post-processing the items are added to history where
  891. # their status can be checked and they can be post-processed again if
  892. # necessary.
  893. #
  894. # After expiring of defined period:
  895. #
  896. # If option <DupeCheck> is active the items become hidden and the amount
  897. # of data kept is significantly reduced (for better performance), only
  898. # fields necessary for duplicate check are kept. The item remains in the
  899. # hidden history (forever);
  900. #
  901. # If option <DupeCheck> is NOT active the items are removed from history.
  902. #
  903. # Value "0" disables history. Duplicate check will not work.
  904. KeepHistory=30
  905.  
  906. # Keep the history of outdated feed items (days).
  907. #
  908. # After fetching of an RSS feed the information about included items (nzb-files)
  909. # is saved to disk. This allows to detect new items on next fetch. Feed
  910. # providers update RSS feeds constantly. Since the feed length is limited
  911. # (usually 100 items or less) the old items get pushed away by new
  912. # ones. When an item is not present in the feed anymore it's not necessary
  913. # to keep the information about this item on the disk.
  914. #
  915. # If option is set to "0", the outdated items are deleted from history
  916. # immediately.
  917. #
  918. # Otherwise the items are held in the history for defined number of
  919. # days. Keeping of items for few days helps in situations when feed provider
  920. # has technical issues and may response with empty feeds (or with missing
  921. # items). When the technical issue is fixed the items may reappear in the
  922. # feed causing the program to re-download items if they were not found in
  923. # the feed history.
  924. FeedHistory=7
  925.  
  926. # Maximum number of simultaneous connections for nzb URL downloads (0-999).
  927. #
  928. # When NZB-files are added to queue via URL, the program downloads them
  929. # from the specified URL. The option limits the maximal number of connections
  930. # used for this purpose, when multiple URLs were added at the same time.
  931. UrlConnections=4
  932.  
  933. # Force URL-downloads even if download queue is paused (yes, no).
  934. #
  935. # If option is active the URL-downloads (such as appending of nzb-files
  936. # via URL or fetching of RSS feeds and nzb-files from feeds) are performed
  937. # even if download is in paused state.
  938. UrlForce=yes
  939.  
  940. # Monthly download volume quota (megabytes).
  941. #
  942. # During download the quota is constantly monitored and the downloading
  943. # is automatically stopped if the limit is reached. Once the next billing month
  944. # starts the "quota reached"-status is automatically lifted and the downloading
  945. # continues.
  946. #
  947. # Downloads with force-priority are processed regardless of quota status.
  948. #
  949. # Value "0" disables monthly quota check.
  950.  
  951. # Day of month when the monthly quota starts (1-31).
  952.  
  953. # Daily download volume quota (megabytes).
  954. #
  955. # See option <MonthlyQuota> for details.
  956. #
  957. # Value "0" disables daily quota check.
  958.  
  959.  
  960. ##############################################################################
  961. ### LOGGING ###
  962.  
  963. # How to use log file (none, append, reset, rotate).
  964. #
  965. # none - do not write into log file;
  966. # append - append to the existing log file or create it;
  967. # reset - delete existing log file on program start and create a new one;
  968. # rotate - create new log file for each day, delete old files,
  969. # see option <RotateLog>.
  970. WriteLog=rotate
  971.  
  972. # Log file rotation period (days).
  973. #
  974. # Defines how long to keep old log-files, when log rotation is active
  975. # (option <WriteLog> is set to "rotate").
  976. RotateLog=3
  977.  
  978. # How error messages must be printed (screen, log, both, none).
  979. ErrorTarget=both
  980.  
  981. # How warning messages must be printed (screen, log, both, none).
  982. WarningTarget=both
  983.  
  984. # How info messages must be printed (screen, log, both, none).
  985. InfoTarget=both
  986.  
  987. # How detail messages must be printed (screen, log, both, none).
  988. DetailTarget=both
  989.  
  990. # How debug messages must be printed (screen, log, both, none).
  991. #
  992. # Debug-messages can be printed only if the program was compiled in
  993. # debug-mode: "./configure --enable-debug".
  994. DebugTarget=both
  995.  
  996. # Number of messages stored in buffer and available for remote
  997. # clients (messages).
  998. LogBufferSize=1000
  999.  
  1000. # Create log for each downloaded nzb-file (yes, no).
  1001. #
  1002. # The messages are saved for each download separately and can be viewed
  1003. # at any time in download details dialog or history details dialog.
  1004.  
  1005. # Create a log of all broken files (yes, no).
  1006. #
  1007. # It is a text file placed near downloaded files, which contains
  1008. # the names of broken files.
  1009. BrokenLog=yes
  1010.  
  1011. # Create memory dump (core-file) on abnormal termination, Linux only (yes, no).
  1012. #
  1013. # Core-files are very helpful for debugging.
  1014. #
  1015. # NOTE: Core-files may contain sensitive data, like your login/password to
  1016. # newsserver etc.
  1017. DumpCore=no
  1018.  
  1019. # Local time correction (hours or minutes).
  1020. #
  1021. # The option allows to adjust timestamps when converting system time to
  1022. # local time and vice versa. The conversion is used when printing messages
  1023. # to the log-file and by option "TaskX.Time" in the scheduler settings.
  1024. #
  1025. # The option is usually not needed if the time zone is set up correctly.
  1026. # However, sometimes, especially when using a binary compiled on another
  1027. # platform (cross-compiling) the conversion between system and local time
  1028. # may not work properly and requires adjustment.
  1029. #
  1030. # Values in the range -24..+24 are interpreted as hours, other values as minutes.
  1031. # Example 1: set time correction to one hour: TimeCorrection=1;
  1032. # Example 2: set time correction to one hour and a half: TimeCorrection=90.
  1033. TimeCorrection=0
  1034.  
  1035.  
  1036. ##############################################################################
  1037. ### DISPLAY (TERMINAL) ###
  1038.  
  1039. # Set screen-outputmode (loggable, colored, curses).
  1040. #
  1041. # loggable - only messages will be printed to standard output;
  1042. # colored - prints messages (with simple coloring for messages categories)
  1043. # and download progress info; uses escape-sequences to move cursor;
  1044. # curses - advanced interactive interface with the ability to edit
  1045. # download queue and various output option.
  1046. OutputMode=curses
  1047.  
  1048. # Shows NZB-Filename in file list in curses-outputmode (yes, no).
  1049. #
  1050. # This option controls the initial state of curses-frontend,
  1051. # it can be switched on/off in run-time with Z-key.
  1052. CursesNzbName=yes
  1053.  
  1054. # Show files in groups (NZB-files) in queue list in curses-outputmode (yes, no).
  1055. #
  1056. # This option controls the initial state of curses-frontend,
  1057. # it can be switched on/off in run-time with G-key.
  1058. CursesGroup=no
  1059.  
  1060. # Show timestamps in message list in curses-outputmode (yes, no).
  1061. #
  1062. # This option controls the initial state of curses-frontend,
  1063. # it can be switched on/off in run-time with T-key.
  1064. CursesTime=no
  1065.  
  1066. # Update interval for Frontend-output in console mode or remote client
  1067. # mode (milliseconds).
  1068. #
  1069. # Min value 25. Bigger values reduce CPU usage (especially in curses-outputmode)
  1070. # and network traffic in remote-client mode.
  1071. UpdateInterval=200
  1072.  
  1073.  
  1074. ##############################################################################
  1075. ### SCHEDULER ###
  1076.  
  1077. # Time to execute the command (HH:MM).
  1078. #
  1079. # Multiple comma-separated values are accepted.
  1080. # An asterisk placed in the hours location will run every hour.
  1081. #
  1082. # Examples: "08:00", "00:00,06:00,12:00,18:00", "*:00", "*:00,*:30".
  1083. #
  1084. # NOTE: Also see option <TimeCorrection>.
  1085. #Task1.Time=08:00
  1086.  
  1087. # Week days to execute the command (1-7).
  1088. #
  1089. # Comma separated list of week days numbers.
  1090. # 1 is Monday.
  1091. # Character '-' may be used to define ranges.
  1092. #
  1093. # Examples: "1-7", "1-5", "5,6", "1-5, 7".
  1094. #Task1.WeekDays=1-7
  1095.  
  1096. # Command to be executed (PauseDownload, UnpauseDownload, PausePostProcess,
  1097. # UnpausePostProcess, PauseScan, UnpauseScan, DownloadRate, Script, Process,
  1098. # ActivateServer, DeactivateServer, FetchFeed).
  1099. #
  1100. # Possible commands:
  1101. # PauseDownload - pause download;
  1102. # UnpauseDownload - resume download;
  1103. # PausePostProcess - pause post-processing;
  1104. # UnpausePostProcess - resume post-processing;
  1105. # PauseScan - pause scan of incoming nzb-directory;
  1106. # UnpauseScan - resume scan of incoming nzb-directory;
  1107. # DownloadRate - set download rate limit;
  1108. # Script - execute one or multiple scheduler scripts. The scripts
  1109. # must be written specially for NZBGet;
  1110. # Process - execute an external (any) program;
  1111. # ActivateServer - activate news-server;
  1112. # DeactivateServer - deactivate news-server;
  1113. # FetchFeed - fetch RSS feed.
  1114. #
  1115. # On start the program checks all tasks and determines current state
  1116. # for download-pause, scan-pause, download-rate and active servers.
  1117. #Task1.Command=PauseDownload
  1118.  
  1119. # Parameters for the command if needed.
  1120. #
  1121. # Some scheduler commands require additional parameters:
  1122. # DownloadRate - download rate limit to be set (kilobytes/sec).
  1123. # Example: 1000;
  1124. # Script - list of scheduler scripts to execute. The scripts in the
  1125. # list must be separated with commas or semicolons. All
  1126. # scripts must be stored in directory set by option
  1127. # <ScriptDir> and paths relative to <ScriptDir> must be
  1128. # entered here. For more info see below;
  1129. # Process - path to the program to execute and its parameters.
  1130. # Example: /home/user/fetch.sh.
  1131. # If filename or any parameter contains spaces it
  1132. # must be surrounded with single quotation
  1133. # marks. If filename/parameter contains single quotation marks,
  1134. # each of them must be replaced (escaped) with two single quotation
  1135. # marks and the resulting filename/parameter must be
  1136. # surrounded with single quotation marks.
  1137. # Example: '/home/user/download/my scripts/task process.sh' 'world''s fun'.
  1138. # In this example one parameter (world's fun) is passed
  1139. # to the script (task process.sh).
  1140. # ActivateServer - comma separated list of news server ids or server names.
  1141. # Example: 1,3.
  1142. # Example: my news server 1, my news server 2.
  1143. # NOTE: server names should not have commas.
  1144. # DeactivateServer - see ActivateServer.
  1145. # FetchFeed - comma separated list of RSS feed ids or feed names.
  1146. # Example: 1,3.
  1147. # Example: bookmarks feed, another feed.
  1148. # NOTE: feed names should not have commas.
  1149. # NOTE: use feed id "0" to fetch all feeds.
  1150. #
  1151. # INFO FOR DEVELOPERS:
  1152. # The rest of the description is for command "Script".
  1153. #
  1154. # NOTE: This is a short documentation, for more information visit
  1155. # http://nzbget.net/Extension_scripts.
  1156. #
  1157. # NZBGet passes following arguments to scheduler script as environment
  1158. # variables:
  1159. # NZBSP_TASKID - id number of scheduler Task.
  1160. #
  1161. # In addition to these arguments NZBGet passes all nzbget.conf-options
  1162. # as environment variables. These variables have prefix "NZBOP_" and
  1163. # are written in UPPER CASE. For Example option "ParRepair" is passed as
  1164. # environment variable "NZBOP_PARREPAIR". The dots in option names are
  1165. # replaced with underscores, for example "SERVER1_HOST". For options
  1166. # with predefined possible values (yes/no, etc.) the values are passed
  1167. # always in lower case.
  1168. #
  1169. # NOTE: This is a short documentation, for more information visit
  1170. # http://nzbget.net/Extension_scripts.
  1171. #Task1.Param=
  1172.  
  1173. #Task2.Time=20:00
  1174. #Task2.WeekDays=1-7
  1175. #Task2.Command=UnpauseDownload
  1176. #Task2.Param=
  1177.  
  1178.  
  1179. ##############################################################################
  1180. ### PAR CHECK/REPAIR ###
  1181.  
  1182. # Whether and how par-verification must be performed (auto, always, force, manual).
  1183. #
  1184. # Auto - par-check is performed when needed. One par2-file is always
  1185. # downloaded. Additional par2-files are downloaded if needed
  1186. # for repair. Repair is performed if the option <ParRepair>
  1187. # is enabled;
  1188. # Always - check every download (even undamaged). One par2-file is
  1189. # always downloaded. Additional par2-files are downloaded
  1190. # if needed for repair. Repair is performed if the option
  1191. # <ParRepair> is enabled;
  1192. # Force - force par-check for every download (even undamaged). All
  1193. # par2-files are always downloaded. Repair is performed if
  1194. # the option <ParRepair> is enabled;
  1195. # Manual - par-check is skipped. One par2-file is always
  1196. # downloaded. If a damaged download is detected, all
  1197. # par2-files are downloaded but neither par-check nor par-repair
  1198. # take place. The download can be then repaired manually,
  1199. # eventually on another faster computer.
  1200. ParCheck=auto
  1201.  
  1202. # Check for renamed and missing files (yes, no).
  1203. #
  1204. # Par-rename restores original file names using information stored
  1205. # in par2-files. It also detects missing files (files listed in
  1206. # par2-files but not present on disk). When enabled the par-rename is
  1207. # performed as the first step of post-processing for every nzb-file.
  1208. #
  1209. # Par-rename is very fast and is highly recommended, especially if
  1210. # unpack is disabled.
  1211. ParRename=yes
  1212.  
  1213. # Automatic par-repair after par-verification (yes, no).
  1214. #
  1215. # If option <ParCheck> is set to "Auto" or "Force" this option defines
  1216. # if the download must be repaired when needed. The option can be
  1217. # disabled if a computer does not have enough CPU power, since repairing
  1218. # may consume too many resources and time on a slow computer.
  1219. ParRepair=yes
  1220.  
  1221. # What files should be scanned during par-verification (limited, extended,
  1222. # full, dupe).
  1223. #
  1224. # Limited - scan only files belonging to par-set;
  1225. # Extended - scan files belonging to par-set first, scan other files until
  1226. # all missing files are found;
  1227. # Full - scan all files in destination directory. Can be very time
  1228. # consuming but may sometimes repair where Limited and Extended fail;
  1229. # Dupe - scan files belonging to par-set first, scan other files until
  1230. # repair is possible. Even files from other duplicate-downloads
  1231. # are scanned. Can be very time consuming but brings best results.
  1232. ParScan=extended
  1233.  
  1234. # Quick file verification during par-check (yes, no).
  1235. #
  1236. # If the option is active the files are quickly verified using
  1237. # checksums calculated during download; quick verification is very fast
  1238. # because it doesn't require the reading of files from disk, NZBGet
  1239. # knows checksums of downloaded files and quickly compares them with
  1240. # checksums stored in the par-file.
  1241. #
  1242. # If the option is disabled the files are verified as usual. That's
  1243. # slow. Use this if the quick verification doesn't work properly.
  1244. ParQuick=yes
  1245.  
  1246. # Memory limit for par-repair buffer (megabytes).
  1247. #
  1248. # Set the amount of RAM that the par-checker may use during repair. Having
  1249. # the buffer as big as the total size of all damaged blocks allows for
  1250. # the optimal repair speed. The option sets the maximum buffer size, the
  1251. # allocated buffer can be smaller.
  1252. #
  1253. # If you have a lot of RAM set the option to few hundreds (MB) for the
  1254. # best repair performance.
  1255. ParBuffer=16
  1256.  
  1257. # Number of threads to use during par-repair (0-99).
  1258. #
  1259. # On multi-core CPUs for the best speed set the option to the number of
  1260. # logical cores (physical cores + hyper-threading units). If you want
  1261. # to utilize the CPU to 100% you may need to add one or two additional threads
  1262. # to compensate for wait intervals used for thread synchronization.
  1263. #
  1264. # On single-core CPUs use only one thread.
  1265. #
  1266. # Set to '0' to automatically use all available CPU cores (may not
  1267. # work on old or exotic platforms).
  1268. ParThreads=0
  1269.  
  1270. # Files to ignore during par-check.
  1271. #
  1272. # List of file extensions, file names or file masks to ignore by
  1273. # par-rename and par-check. The entries must be separated with
  1274. # commas.
  1275. #
  1276. # The entries must be separated with commas. The entries can be file
  1277. # extensions, file names or file masks containing wildcard
  1278. # characters * and ?.
  1279. #
  1280. # If par-rename or par-check detect missing or damaged files they
  1281. # will ignore files matching this option and will not initiate
  1282. # repair. This avoids time costing repair for unimportant files.
  1283. #
  1284. # Example: .sfv, .nzb, .nfo
  1285. ParIgnoreExt=.sfv, .nzb, .nfo
  1286.  
  1287. # What to do if download health drops below critical health (delete, park,
  1288. # pause, none).
  1289. #
  1290. # Delete - delete nzb-file from queue, also delete already downloaded files;
  1291. # Park - move nzb-file to history, keep already downloaded files. Commands
  1292. # "Download remaining files" and "Retry failed articles" are available
  1293. # for this nzb;
  1294. # Pause - pause nzb-file;
  1295. # None - do nothing (continue download).
  1296. #
  1297. # NOTE: For automatic duplicate handling option must be set to "Delete", "Park"
  1298. # or "None". If it is set to "Pause" you will need to manually move another
  1299. # duplicate from history to queue. See also option <DupeCheck>.
  1300. #
  1301. # NOTE: When option <ParScan> is set to "Dupe" the park-action is performed
  1302. # only if article completion is below 10% (empirical threshold). This is to
  1303. # improve efficiency of dupe par scan mode.
  1304. HealthCheck=delete
  1305.  
  1306. # Maximum allowed time for par-repair (minutes).
  1307. #
  1308. # If you use NZBGet on a very slow computer like NAS-device, it may be good to
  1309. # limit the time allowed for par-repair. NZBGet calculates the estimated time
  1310. # required for par-repair. If the estimated value exceeds the limit defined
  1311. # here, NZBGet cancels the repair.
  1312. #
  1313. # To avoid a false cancellation NZBGet compares the estimated time with
  1314. # <ParTimeLimit> after the first 5 minutes of repairing, when the calculated
  1315. # estimated time is more or less accurate. But in a case if <ParTimeLimit> is
  1316. # set to a value smaller than 5 minutes, the comparison is made after the first
  1317. # whole minute.
  1318. #
  1319. # Value "0" means unlimited.
  1320. #
  1321. # NOTE: The option limits only the time required for repairing. It doesn't
  1322. # affect the first stage of parcheck - verification of files. However, the
  1323. # verification speed is constant, it doesn't depend on files integrity and
  1324. # therefore it is not necessary to limit the time needed for the first stage.
  1325. ParTimeLimit=0
  1326.  
  1327. # Pause download queue during check/repair (yes, no).
  1328. #
  1329. # Enable the option to give CPU more time for par-check/repair. That helps
  1330. # to speed up check/repair on slow CPUs with fast connection (e.g. NAS-devices).
  1331. #
  1332. # NOTE: If parchecker needs additional par-files it temporarily unpauses
  1333. # the queue.
  1334. #
  1335. # NOTE: See also options <ScriptPauseQueue> and <UnpackPauseQueue>.
  1336. ParPauseQueue=no
  1337.  
  1338.  
  1339. ##############################################################################
  1340. ### UNPACK ###
  1341.  
  1342. # Unpack downloaded nzb-files (yes, no).
  1343. #
  1344. # Each download (nzb-file) has a post-processing parameter "Unpack". The option
  1345. # <Unpack> is the default value assigned to this pp-parameter of the download
  1346. # when it is added to queue.
  1347. #
  1348. # When nzb-file is added to queue it can have a category assigned to it. In this
  1349. # case the option <CategoryX.Unpack> overrides the global option <Unpack>.
  1350. #
  1351. # If the download is damaged and could not be repaired using par-files
  1352. # the unpacking is not performed.
  1353. #
  1354. # If the option <ParCheck> is set to "Auto" the program tries to unpack
  1355. # downloaded files first. If the unpacking fails the par-check/repair
  1356. # is performed and the unpack is executed again.
  1357. Unpack=yes
  1358.  
  1359. # Pause download queue during unpack (yes, no).
  1360. #
  1361. # Enable the option to give CPU more time for unpacking. That helps
  1362. # to speed up unpacking on slow CPUs.
  1363. #
  1364. # NOTE: See also options <ParPauseQueue> and <ScriptPauseQueue>.
  1365. UnpackPauseQueue=no
  1366.  
  1367. # Delete archive files after successful unpacking (yes, no).
  1368. UnpackCleanupDisk=yes
  1369.  
  1370. # Full path to unrar executable.
  1371. #
  1372. # Example: /usr/bin/unrar.
  1373. #
  1374. # The option can also contain extra switches to pass to unrar. To the
  1375. # here defined command line NZBGet adds the following switches:
  1376. # x -y -p- -o+ *.rar ./_unpack/
  1377. #
  1378. # Switch "x" is added only if neither "x" nor "e" were defined in
  1379. # the option (this allows you to use switch "e" instead of "x"). switch
  1380. # "-o+" is added only if neither "-o+" nor "-o-" were defined
  1381. # in the command line. All other parameters are always added. Parameter
  1382. # "-p-" is replaced with "-ppassword" if a password is set for nzb-file.
  1383. #
  1384. # Examples:
  1385. # 1) ignore file attributes (permissions):
  1386. # /usr/bin/unrar x -ai;
  1387. # 2) decrease priority of unrar-process:
  1388. # nice -n 19 unrar.
  1389. #
  1390. # For other useful switches refer to unrar documentation.
  1391. #
  1392. # If unrar is in your PATH you may leave the path part and set only
  1393. # the executable name ("unrar" on POSIX or "unrar.exe" on Windows).
  1394. UnrarCmd=/usr/bin/unrar
  1395.  
  1396. # Full path to 7-Zip executable.
  1397. #
  1398. # Example: /usr/bin/7z.
  1399. #
  1400. # Similar to option <UnrarCmd> this option can also include extra switches.
  1401. #
  1402. # If 7-Zip binary is in your PATH you may leave the path part and set only
  1403. # the executable name ("7z" or "7za" on POSIX or "7z.exe" on Windows).
  1404. SevenZipCmd=/usr/bin/7z
  1405.  
  1406. # Files to delete after successful download.
  1407. #
  1408. # List of file extensions, file names or file masks to delete after
  1409. # successful download. If either unpack or par-check fail the cleanup is
  1410. # not performed. If neither unpack nor par-check were made (because they
  1411. # were disabled or the download doesn't contain archives and/or par-files
  1412. # the cleanup is performed if the health is 100%.
  1413. #
  1414. # The entries must be separated with commas. The entries can be file
  1415. # extensions, file names or file masks containing wildcard
  1416. # characters * and ?.
  1417. #
  1418. # Example: .par2, .sfv
  1419. ExtCleanupDisk=.par2, .sfv, _brokenlog.txt
  1420.  
  1421. # Path to file containing unpack passwords.
  1422. #
  1423. # If the option is set the program will try all passwords from the file
  1424. # when unpacking the archives. The file must be a text file containing
  1425. # one password per line.
  1426. #
  1427. # If an nzb-file has a defined password (in the post-processing settings)
  1428. # then the password-file is not used for that nzb-file.
  1429. #
  1430. # NOTE: Trying multiple passwords is a time consuming task. Whenever possible
  1431. # passwords should be set per nzb-file in their post-processing settings.
  1432.  
  1433.  
  1434. ##############################################################################
  1435. ### EXTENSION SCRIPTS ###
  1436.  
  1437. # Default list of post-processing scripts to execute after the download
  1438. # of nzb-file is completed and possibly par-checked/repaired and unpacked.
  1439. #
  1440. # The scripts in the list must be separated with commas or semicolons. All
  1441. # scripts must be stored in directory set by option <ScriptDir> and
  1442. # paths relative to <ScriptDir> must be entered here.
  1443. #
  1444. # Example: Cleanup.sh, Move.sh, EMail.py.
  1445. #
  1446. # Each download (nzb-file) has its own list of post-processing scripts. The option
  1447. # <PostScript> is the default value assigned to download when it is added to
  1448. # queue. The list of post-processing scripts for a particular download can be
  1449. # changed in the edit dialog in web-interface or using remote command "--edit/-E".
  1450. #
  1451. # When nzb-file is added to queue it can have a category assigned to it. In this
  1452. # case the option <CategoryX.PostScript> (if not empty) overrides the
  1453. # global option <PostScript>.
  1454. #
  1455. # NOTE: The script execution order is controlled by option <ScriptOrder>, not
  1456. # by their order in option <PostScript>.
  1457. #
  1458. # NOTE: Changing options <PostScript> and <CategoryX.PostScript> doesn't affect
  1459. # already queued downloads.
  1460. #
  1461. # NOTE: For the list of interesting post-processing scripts see
  1462. # http://nzbget.net/Catalog_of_post-processing_scripts.
  1463. #
  1464. # INFO FOR DEVELOPERS:
  1465. # NOTE: This is a short documentation, for more information visit
  1466. # http://nzbget.net/Extension_scripts.
  1467. #
  1468. # NZBGet passes following arguments to post-processing script as environment
  1469. # variables:
  1470. # NZBPP_DIRECTORY - path to destination directory for downloaded files;
  1471. # NZBPP_NZBNAME - user-friendly name of processed nzb-file as it is displayed
  1472. # by the program. The file path and extension are removed.
  1473. # If download was renamed, this parameter reflects the new name;
  1474. # NZBPP_NZBFILENAME - original name of processed nzb-file. It includes file extension
  1475. # and may include full path;
  1476. # NZBPP_QUEUEDFILE - full filename of the queued (renamed) nzb-file;
  1477. # NZBPP_FINALDIR - final destination path if set by one of previous pp-scripts;
  1478. # NZBPP_CATEGORY - category assigned to nzb-file (can be empty string);
  1479. # NZBPP_DUPEKEY - duplicate key of nzb-file;
  1480. # NZBPP_DUPESCORE - duplicate score of nzb-file;
  1481. # NZBPP_DUPEMODE - duplicate mode of nzb-file: SCORE, ALL, FORCE;
  1482. # NZBPP_TOTALSTATUS - total status of nzb-file:
  1483. # SUCCESS - everything OK;
  1484. # WARNING - download is damaged but probably can
  1485. # be repaired; user intervention is
  1486. # required;
  1487. # FAILURE - download has failed or a serious error
  1488. # occurred during post-processing (unpack, par);
  1489. # DELETED - download was deleted; post-processing
  1490. # scripts are usually not called in this case;
  1491. # however it's possible to force calling
  1492. # scripts with command "post-process again";
  1493. # NZBPP_STATUS - complete status info for nzb-file: it consists
  1494. # of total status and status detail separated with
  1495. # slash, for example: "FAILURE/UNPACK"; for possible
  1496. # status details see documentation on web site;
  1497. # NZBPP_SCRIPTSTATUS - summary status of the scripts executed before the
  1498. # current one:
  1499. # NONE - no other scripts were executed yet or all
  1500. # of them have ended with exit code "NONE";
  1501. # SUCCESS - all other scripts have ended with exit
  1502. # code "SUCCESS" ;
  1503. # FAILURE - at least one of the script has failed;
  1504. # NZBPP_HEALTH - download health: an integer value in the range
  1505. # from 0 (all articles failed) to 1000 (all articles
  1506. # successfully downloaded);
  1507. # NZBPP_CRITICALHEALTH - critical health for this nzb-file: an integer
  1508. # value in the range 0-1000. The critical health
  1509. # is calculated based on number and size of
  1510. # par-files. If nzb-file doesn't have any par-files
  1511. # the critical health is 1000 (100.0%). If a half
  1512. # of nzb-file were par-files its critical health
  1513. # would be 0. If NZBPP_HEALTH goes down below
  1514. # NZBPP_CRITICALHEALTH the download becomes unrepairable;
  1515. # NZBPP_TOTALARTICLES - number of articles in nzb-file;
  1516. # NZBPP_SUCCESSARTICLES - number of successfully downloaded articles;
  1517. # NZBPP_FAILEDARTICLES - number of failed articles;
  1518. # NZBPP_SERVERX_SUCCESSARTICLES - number of successfully downloaded
  1519. # articles from ServerX (X is replaced with server
  1520. # number, for example NZBPP_SERVER1_SUCCESSARTICLES);
  1521. # NZBPP_SERVERX_FAILEDARTICLES - number of failed articles from ServerX.
  1522. #
  1523. # If the script defines own options they are also passed as environment
  1524. # variables. These variables have prefix "NZBPO_" in their names. For
  1525. # example, option "myoption" will be passed as environment variable
  1526. # "NZBPO_myoption" and in addition in uppercase as "NZBPO_MYOPTION".
  1527. #
  1528. # If the script defines own post-processing parameters, they are also passed as
  1529. # environment variables. These variables have prefix "NZBPR_" in their
  1530. # names. For example, pp-parameter "myparam" will be passed as environment
  1531. # variable "NZBPR_myparam" and in addition in uppercase as "NZBPR_MYPARAM".
  1532. #
  1533. # In addition to arguments, pp-options and pp-parameters NZBGet passes all
  1534. # nzbget.conf-options to pp-script as environment variables. These
  1535. # variables have prefix "NZBOP_" and are written in UPPER CASE. For Example
  1536. # option "ParRepair" is passed as environment variable "NZBOP_PARREPAIR". The
  1537. # dots in option names are replaced with underscores, for example
  1538. # "SERVER1_HOST". For options with predefined possible values (yes/no, etc.)
  1539. # the values are passed always in lower case.
  1540. #
  1541. # If the script moves files it can inform the program about new location
  1542. # by printing special message into standard output (which is processed
  1543. # by NZBGet):
  1544. # echo "[NZB] DIRECTORY=/path/to/moved/files";
  1545. # or:
  1546. # echo "[NZB] FINALDIR=/path/to/moved/files";
  1547. #
  1548. # Command "DIRECTORY" changes the destination path of the download and
  1549. # affects the scripts executed after the current script as well as the
  1550. # program code itself, for example the command "Post-process again"
  1551. # will work on new location. Command "FINALDIR" just sets a separate
  1552. # property of the download and should be used when the files are moved
  1553. # into an existing directory containing other files to avoid the processing
  1554. # of those files by other scripts.
  1555. #
  1556. # To assign post-processing parameters:
  1557. # echo "[NZB] NZBPR_myvar=my value";
  1558. #
  1559. # The prefix "NZBPR_" will be removed. In this example a post-processing
  1560. # parameter with name "myvar" and value "my value" will be associated
  1561. # with nzb-file.
  1562. #
  1563. # To inform NZBGet about bad download:
  1564. # echo "[NZB] MARK=BAD";
  1565. #
  1566. # Return value: NZBGet processes the exit code returned by the script:
  1567. # 93 - post-process successful (status = SUCCESS);
  1568. # 94 - post-process failed (status = FAILURE);
  1569. # 95 - post-process skipped (status = NONE). Use this code when you script
  1570. # terminates immediately without doing any job and when this is not
  1571. # a failure termination;
  1572. # 92 - request NZBGet to do par-check/repair for current nzb-file.
  1573. #
  1574. # All other return codes are interpreted as failure (status = FAILURE).
  1575. #
  1576. # NOTE: This is a short documentation, for more information visit
  1577. # http://nzbget.net/Extension_scripts.
  1578. PostScript=videosort/VideoSort.py
  1579.  
  1580. # List of scan scripts to execute before a nzb-file is added to queue.
  1581. #
  1582. # The scripts in the list must be separated with commas or semicolons. All
  1583. # scripts must be stored in directory set by option <ScriptDir> and
  1584. # paths relative to <ScriptDir> must be entered here.
  1585. #
  1586. # The scripts are executed each time a new file is found in incoming
  1587. # directory (option <NzbDir>) or a file is received via RPC (web-interface,
  1588. # command "nzbget --append", etc.).
  1589. #
  1590. # Example: UnzipNzb.sh, ScanNotify.py.
  1591. #
  1592. # The scripts can unpack archives which were put in incoming directory, make
  1593. # filename cleanup, change nzb-name, category, priority and post-processing
  1594. # parameters of the nzb-file or do other things.
  1595. #
  1596. # INFO FOR DEVELOPERS:
  1597. # NOTE: This is a short documentation, for more information visit
  1598. # http://nzbget.net/Extension_scripts.
  1599. #
  1600. # NZBGet passes following arguments to the script as environment
  1601. # variables:
  1602. # NZBNP_DIRECTORY - path to directory, where file is located. It is a directory
  1603. # specified by the option <NzbDir> or a subdirectory;
  1604. # NZBNP_FILENAME - name of file to be processed;
  1605. # NZBNP_NZBNAME - nzb-name (without path but with extension);
  1606. # NZBNP_CATEGORY - category of nzb-file;
  1607. # NZBNP_PRIORITY - priority of nzb-file;
  1608. # NZBNP_TOP - flag indicating that the file will be added to the top
  1609. # of queue: 0 or 1;
  1610. # NZBNP_PAUSED - flag indicating that the file will be added as
  1611. # paused: 0 or 1;
  1612. # NZBNP_DUPEKEY - duplicate key of nzb-file;
  1613. # NZBNP_DUPESCORE - duplicate score of nzb-file;
  1614. # NZBNP_DUPEMODE - duplicate mode of nzb-file: SCORE, ALL, FORCE.
  1615. #
  1616. # In addition to these arguments NZBGet passes all nzbget.conf-options
  1617. # as environment variables. These variables have prefix "NZBOP_" and
  1618. # are written in UPPER CASE. For , the option "ParRepair" is passed as
  1619. # environment variable "NZBOP_PARREPAIR". The dots in option names are
  1620. # replaced with underscores, for example "SERVER1_HOST". For options
  1621. # with predefined possible values (yes/no, etc.) the values are passed
  1622. # always in lower case.
  1623. #
  1624. # The script can change nzb-name, category, priority,
  1625. # post-processing parameters and top-/paused-flags of the nzb-file
  1626. # by printing special messages into standard output (which is processed
  1627. # by NZBGet).
  1628. #
  1629. # To change nzb-name use following syntax:
  1630. # echo "[NZB] NZBNAME=my download";
  1631. #
  1632. # To change category:
  1633. # echo "[NZB] CATEGORY=my category";
  1634. #
  1635. # To change priority:
  1636. # echo "[NZB] PRIORITY=signed_integer_value";
  1637. #
  1638. # for example: to set priority higher than normal:
  1639. # echo "[NZB] PRIORITY=50";
  1640. #
  1641. # another example: use a negative value for "lower than normal" priority:
  1642. # echo "[NZB] PRIORITY=-100";
  1643. #
  1644. # Although priority can be any integer value, the web-interface operates
  1645. # with six predefined priorities:
  1646. # -100 - very low priority;
  1647. # -50 - low priority;
  1648. # 0 - normal priority (default);
  1649. # 50 - high priority;
  1650. # 100 - very high priority;
  1651. # 900 - force priority.
  1652. #
  1653. # Downloads with priorities equal to or greater than 900 are downloaded and
  1654. # post-processed even if the program is in paused state (force mode).
  1655. #
  1656. # To assign post-processing parameters:
  1657. # echo "[NZB] NZBPR_myvar=my value";
  1658. #
  1659. # The prefix "NZBPR_" will be removed. In this example a post-processing
  1660. # parameter with name "myvar" and value "my value" will be associated
  1661. # with nzb-file.
  1662. #
  1663. # To change top-flag (nzb-file will be added to the top of queue):
  1664. # echo "[NZB] TOP=1";
  1665. #
  1666. # To change paused-flag (nzb-file will be added in paused state):
  1667. # echo "[NZB] PAUSED=1";
  1668. #
  1669. # To change duplicate key:
  1670. # echo "[NZB] DUPEKEY=tv show s01e02";
  1671. #
  1672. # To change duplicate score:
  1673. # echo "[NZB] DUPESCORE=integer_value";
  1674. #
  1675. # To change duplicate mode:
  1676. # echo "[NZB] DUPEMODE=(SCORE|ALL|FORCE)";
  1677. #
  1678. # The script can delete processed file, rename it or move somewhere.
  1679. # After the calling of the script the file will be either added to queue
  1680. # (if it was an nzb-file) or renamed by adding the extension ".processed".
  1681. #
  1682. # NOTE: Files with extensions ".processed", ".queued" and ".error" are skipped
  1683. # during the directory scanning.
  1684. #
  1685. # NOTE: Files with extension ".nzb_processed" are not passed to
  1686. # scan-script before adding to queue. This feature allows scan-script
  1687. # to prevent the scanning of nzb-files extracted from archives, if
  1688. # they were already processed by the script.
  1689. #
  1690. # NOTE: Files added via RPC calls in particular from web-interface are
  1691. # saved into incoming nzb-directory and then processed by the script.
  1692. #
  1693. # NOTE: This is a short documentation, for more information visit
  1694. # http://nzbget.net/Extension_scripts.
  1695. ScanScript=
  1696.  
  1697. # List of queue scripts to execute on queue events.
  1698. #
  1699. # The scripts in the list must be separated with commas or semicolons. All
  1700. # scripts must be stored in directory set by option <ScriptDir> and
  1701. # paths relative to <ScriptDir> must be entered here.
  1702. #
  1703. # The scripts are executed on certain queue events such as adding
  1704. # a new nzb-file to queue, etc.
  1705. #
  1706. # Example: DeleteQueueSamples.sh, NzbAddedNotify.py.
  1707. #
  1708. # The script can modify the files in download queue (for example
  1709. # delete or pause all .nfo, .sfv, sample files) or do something else.
  1710. #
  1711. # INFO FOR DEVELOPERS:
  1712. # NOTE: This is a short documentation, for more information visit
  1713. # http://nzbget.net/Extension_scripts.
  1714. #
  1715. # NZBGet passes following arguments to the queue script as environment
  1716. # variables:
  1717. # NZBNA_NZBNAME - name of nzb-group. This name can be used in calls
  1718. # to nzbget edit-command using the subswitch "-GN name";
  1719. # NZBNA_FILENAME - filename of the nzb-file. If the file was added
  1720. # from nzb-directory this is the full name with path.
  1721. # If the file was added via web-interface it contains
  1722. # only filename without path;
  1723. # NZBNA_EVENT - describes why the script was called:
  1724. # NZB_ADDED - after adding of nzb-file to queue;
  1725. # FILE_DOWNLOADED - after a file included in nzb is
  1726. # downloaded;
  1727. # NZB_DOWNLOADED - after all files in nzb are downloaded
  1728. # (before post-processing);
  1729. # NZB_DELETED - when nzb is deleted from queue (moved
  1730. # to history). See NZBNA_DELETESTATUS for details;
  1731. # NZB_MARKED - when a history item is marked as good, bad or
  1732. # success. See NZBNA_MARKSTATUS for details;
  1733. # URL_COMPLETED - after an URL download is completed
  1734. # and the downloaded file was not added to queue
  1735. # (not nzb-extension, download error, parse
  1736. # error). See NZBNA_URLSTATUS for details;
  1737. # In the future the list of supported events may be
  1738. # extended. To avoid conflicts with future NZBGet
  1739. # versions the script must exit if the parameter
  1740. # has a value unknown to the script;
  1741. # NZBNA_QUEUEDFILE - full filename of the queued (renamed) nzb-file;
  1742. # NZBNA_DELETESTATUS - delete status info, NZBNA_EVENT=NZB_DELETED:
  1743. # MANUAL - deleted by user or via API call;
  1744. # HEALTH - deleted by health check;
  1745. # DUPE - moved to history by duplicate check, can be
  1746. # reused later if necessary;
  1747. # GOOD - moved to history by duplicate check because
  1748. # there is already a duplicate marked as good;
  1749. # BAD - marked as bad by user or by queue-script;
  1750. # COPY - already in queue or in history;
  1751. # SCAN - malformed nzb-file, cannot be parsed;
  1752. # NZBNA_URLSTATUS - URL status info, when NZBNA_EVENT=URL_COMPLETED:
  1753. # FAILURE - fetch error (could not be downloaded);
  1754. # SCAN_SKIPPED - downloaded file doesn't have
  1755. # nzb-extension and was skipped;
  1756. # SCAN_FAILED - file format error;
  1757. # NZBNA_MARKSTATUS - mark status info, NZBNA_EVENT=NZB_MARKED:
  1758. # GOOD - marked as good by user or by a script;
  1759. # BAD - marked as bad;
  1760. # SUCCESS - marked as success;
  1761. # NZBNA_CATEGORY - category of nzb-file (if assigned);
  1762. # NZBNA_NZBID - id of the nzb-file. This ID can be used with
  1763. # calls to nzbget edit-command;
  1764. # NZBNA_PRIORITY - priority (default is 0);
  1765. # NZBNA_DUPEKEY - duplicate key of nzb-file;
  1766. # NZBNA_DUPESCORE - duplicate score of nzb-file;
  1767. # NZBNA_DUPEMODE - duplicate mode of nzb-file: SCORE, ALL, FORCE.
  1768. #
  1769. # In addition to these arguments NZBGet passes all nzbget.conf-options
  1770. # to the script as environment variables. These variables have prefix
  1771. # "NZBOP_" and are written in UPPER CASE. For Example, the option "ParRepair"
  1772. # is passed as environment variable "NZBOP_PARREPAIR". The dots in option
  1773. # names are replaced with underscores, for example "SERVER1_HOST". For
  1774. # options with predefined possible values (yes/no, etc.) the values are
  1775. # passed always in lower case.
  1776. #
  1777. # The script can printing special messages into standard output (which
  1778. # is processed by NZBGet).
  1779. #
  1780. # To assign post-processing parameters:
  1781. # echo "[NZB] NZBPR_myvar=my value";
  1782. #
  1783. # The prefix "NZBPR_" will be removed. In this example a post-processing
  1784. # parameter with name "myvar" and value "my value" will be associated
  1785. # with nzb-file.
  1786. #
  1787. # To inform NZBGet about bad download:
  1788. # echo "[NZB] MARK=BAD";
  1789. #
  1790. # To set destination directory (only from event "NZB_DOWNLOADED"):
  1791. # echo "[NZB] DIRECTORY=/destination/path/for/this/nzb";
  1792. #
  1793. # Examples of what the script can do:
  1794. # 1) pausing nzb-file using file-id:
  1795. # "$NZBOP_APPBIN" -c "$NZBOP_CONFIGFILE" -E G P $NZBNA_NZBID;
  1796. # 2) setting category using nzb-name:
  1797. # "$NZBOP_APPBIN" -c "$NZBOP_CONFIGFILE" -E GN K "my cat" "$NZBNA_NZBNAME";
  1798. # 3) pausing files with extension "nzb":
  1799. # "$NZBOP_APPBIN" -c "$NZBOP_CONFIGFILE" -E FR P "$NZBNA_NZBNAME/.*\.nzb";
  1800. #
  1801. # NOTE: This is a short documentation, for more information visit
  1802. # http://nzbget.net/Extension_scripts.
  1803. QueueScript=FakeDetector.py, PasswordDetector.py
  1804.  
  1805. # List of rss feed scripts to execute before a rss feed content is processed.
  1806. #
  1807. # The scripts in the list must be separated with commas or semicolons. All
  1808. # scripts must be stored in directory set by option <ScriptDir> and
  1809. # paths relative to <ScriptDir> must be entered here.
  1810. #
  1811. # If rss feed has option <FeedX.FeedScript> defined (if not empty)
  1812. # the scripts defined there override the global option <FeedScript>.
  1813. #
  1814. # The scripts are executed after rss feed is read from server and before it
  1815. # is processed by the feed parser. Once the feed is fetched it is saved
  1816. # to a temporary file and the feed scripts are executed. The scripts
  1817. # can modify the content of the temporary feed file. Then the file is
  1818. # read by the feed parser and processed.
  1819. #
  1820. # Example: Rss.sh, Filter.py.
  1821. #
  1822. # The feed content is usually filtered using option <FeedX.Filter>. If a
  1823. # required filtering cannot be achieved via built-in filter commands the
  1824. # more advanced processing of the feed can be made using feed scripts.
  1825. #
  1826. # INFO FOR DEVELOPERS:
  1827. # NOTE: This is a short documentation, for more information visit
  1828. # http://nzbget.net/Extension_scripts.
  1829. #
  1830. # NZBGet passes following arguments to the script as environment
  1831. # variables:
  1832. # NZBFP_FILENAME - name of feed file to be processed;
  1833. # NZBFP_FEEDID - ID of the feed.
  1834. #
  1835. # In addition to these arguments NZBGet passes all nzbget.conf-options
  1836. # as environment variables. These variables have prefix "NZBOP_" and
  1837. # are written in UPPER CASE. For Example option "ParRepair" is passed as
  1838. # environment variable "NZBOP_PARREPAIR". The dots in option names are
  1839. # replaced with underscores, for example "SERVER1_HOST". For options
  1840. # with predefined possible values (yes/no, etc.) the values are passed
  1841. # always in lower case.
  1842. #
  1843. # Return value: NZBGet processes the exit code returned by the script:
  1844. # 93 - script successful (status = SUCCESS).
  1845. # All other return codes are interpreted as failure (status = FAILURE).
  1846. #
  1847. # If the script doesn't end with SUCCESS-status the whole content of RSS
  1848. # feed is ignored. This is to prevent accidental enqueuing of many
  1849. # nzb-files if a feed script unexpectedly terminates before processing
  1850. # of the feed.
  1851. #
  1852. # NOTE: This is a short documentation, for more information visit
  1853. # http://nzbget.net/Extension_scripts.
  1854.  
  1855. # Execution order for scripts.
  1856. #
  1857. # If you assign multiple scripts to one nzb-file, they are executed in the
  1858. # order defined by this option. Scripts not listed here are executed at
  1859. # the end in their alphabetical order.
  1860. #
  1861. # The scripts in the list must be separated with commas or semicolons. All
  1862. # scripts must be stored in directory set by option <ScriptDir> and
  1863. # paths relative to <ScriptDir> must be entered here.
  1864. #
  1865. # Example: Cleanup.sh, Move.sh.
  1866. ScriptOrder=
  1867.  
  1868. # Pause download queue during executing of postprocess-script (yes, no).
  1869. #
  1870. # Enable the option to give CPU more time for postprocess-script. That helps
  1871. # to speed up postprocess on slow CPUs with fast connection (e.g. NAS-devices).
  1872. #
  1873. # NOTE: See also options <ParPauseQueue> and <UnpackPauseQueue>.
  1874. ScriptPauseQueue=no
  1875.  
  1876. # Shell overrides for script interpreters.
  1877. #
  1878. # By default extension scripts are executed as normal programs. The system finds
  1879. # an associated interpreter automatically. If for some reason that doesn't work
  1880. # properly you can provide shell overrides here.
  1881. #
  1882. # This option contains a comma separated list of shell overrides per
  1883. # file extension. A shell override consists of file extension (starting with
  1884. # dot) followed by equal sign and the full path to script interpreter.
  1885. #
  1886. # Example: .py=/usr/bin/python2;.py3=/usr/bin/python3;.sh=/usr/bin/bash.
  1887.  
  1888. # Minimum interval between calls of queue-scripts (seconds).
  1889. #
  1890. # Queue-scripts are executed during download, after every file included in
  1891. # nzb-file is downloaded. If the files are small they may be downloaded
  1892. # very fast causing queue-scripts to be working all the time. Sometimes
  1893. # this may lead to a performance decrease on systems with slow CPUs.
  1894. #
  1895. # This option allows to reduce the number of calls of queue-scripts by
  1896. # skipping "file-downloaded"-events if the previous call of queue-scripts
  1897. # for the same download (nzb-file) were performed a short time ago
  1898. # (as defined by the option).
  1899. #
  1900. # Value "-1" disables executing of queue-scripts on
  1901. # "file-downloaded"-events. Scripts are still executed on events
  1902. # "nzb-added" and "nzb-downloaded".
  1903. #
  1904. # NOTE: This options affects only queue-scripts and only
  1905. # "file-downloaded"-events. Queue-scripts can be activated using
  1906. # option <QueueScript> (for pure queue-scripts) or option <PostScript>
  1907. # (for dual-mode scripts which act as queue- and post-processing-scripts
  1908. # at the same time).
  1909. EventInterval=0
  1910. Server2.Active=yes
  1911. Server2.Name=Bulknews
  1912. Server2.Level=50
  1913. Server2.Group=0
  1914. Server2.Host=news.bulknews.eu
  1915. Server2.Port=563
  1916. Server2.Username=removed
  1917. Server2.Password=removed
  1918. Server2.JoinGroup=no
  1919. Server2.Encryption=yes
  1920. Server2.Cipher=
  1921. Server2.Connections=30
  1922. Server2.Retention=0
  1923. Server3.Active=yes
  1924. Server3.Name=NewsGroupDirect (US)
  1925. Server3.Level=60
  1926. Server3.Group=0
  1927. Server3.Host=news-ssl.newsgroupdirect.com
  1928. Server3.Port=563
  1929. Server3.Username=removed
  1930. Server3.Password=removed
  1931. Server3.JoinGroup=no
  1932. Server3.Encryption=yes
  1933. Server3.Cipher=
  1934. Server3.Connections=25
  1935. Server3.Retention=2651
  1936. Server4.Active=yes
  1937. Server4.Name=NewsGroupDirect (EU)
  1938. Server4.Level=61
  1939. Server4.Group=0
  1940. Server4.Host=news-eu-ssl.newsgroupdirect.com
  1941. Server4.Port=563
  1942. Server4.Username=removed
  1943. Server4.Password=removed
  1944. Server4.JoinGroup=no
  1945. Server4.Encryption=yes
  1946. Server4.Cipher=
  1947. Server4.Connections=25
  1948. Server4.Retention=2651
  1949. Category2.DestDir=
  1950. Category2.PostScript=
  1951. Category2.Aliases=
  1952. Category3.DestDir=/mnt/2TB_1/Music/_downloaded
  1953. Category3.PostScript=FakeDetector.py, PasswordDetector.py
  1954. Category3.Aliases=Audio >*
  1955. Category4.DestDir=/mnt/2TB_2/Work/_New
  1956. Category4.Unpack=yes
  1957. Category4.PostScript=FakeDetector.py, PasswordDetector.py
  1958. Category4.Aliases=
  1959. Feed1.Name=DogNZB TV Shows
  1960. Feed1.URL=foobar
  1961. Feed1.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  1962. Feed1.Interval=20
  1963. Feed1.Category=
  1964. Feed1.Priority=0
  1965. Feed2.Name=Rifftrax Live
  1966. Feed2.URL=http://www.nzbindex.nl/rss/?q=rifftrax+live&age=30&sort=agedesc&minsize=500&max=25&more=1
  1967. Feed2.Filter=
  1968. Feed2.Interval=360
  1969. Feed2.Category=
  1970. Feed2.Priority=0
  1971. Feed3.Name=DogNZB Bookmarks
  1972. Feed3.URL=foobar
  1973. Feed3.Filter=Accept(dupemode:all):*
  1974. Feed3.Interval=32
  1975. Feed3.Category=
  1976. Feed3.Priority=0
  1977. Feed4.Name=DogNZB TV Shows
  1978. Feed4.URL=foobar
  1979. Feed4.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  1980. Feed4.Interval=20
  1981. Feed4.Category=
  1982. Feed4.Priority=0
  1983. DeleteCleanupDisk=yes
  1984. ParCleanupQueue=yes
  1985. Category2.DestDir=
  1986. Category2.Unpack=yes
  1987. Category2.PostScript=
  1988. Category2.Aliases=
  1989. Category3.DestDir=/mnt/2TB_1/Music/_downloaded
  1990. Category3.Unpack=yes
  1991. Category3.PostScript=FakeDetector.py, PasswordDetector.py
  1992. Category3.Aliases=Audio >*
  1993. Server2.Name=Bulknews
  1994. Server2.Level=50
  1995. Server2.Group=0
  1996. Server2.Host=news.bulknews.eu
  1997. Server2.Port=563
  1998. Server2.Username=removed
  1999. Server2.Password=removed
  2000. Server2.Cipher=
  2001. Server2.Connections=30
  2002. Feed1.Name=DogNZB TV Shows
  2003. Feed1.URL=foobar
  2004. Feed1.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  2005. Feed1.Interval=20
  2006. Feed1.PauseNzb=no
  2007. Feed1.Category=
  2008. Feed1.Priority=0
  2009. Feed2.Name=Rifftrax Live
  2010. Feed2.URL=foobar
  2011. Feed2.Filter=
  2012. Feed2.Interval=360
  2013. Feed2.PauseNzb=no
  2014. Feed2.Category=
  2015. Feed2.Priority=0
  2016. Feed3.Name=DogNZB Bookmarks
  2017. Feed3.URL=foobar
  2018. Feed3.Filter=Accept(dupemode:all):*
  2019. Feed3.Interval=32
  2020. Feed3.PauseNzb=no
  2021. Feed3.Category=
  2022. Feed3.Priority=0
  2023. Feed4.Name=DogNZB TV Shows
  2024. Feed4.URL=foobar
  2025. Feed4.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  2026. Feed4.Interval=20
  2027. Feed4.PauseNzb=no
  2028. Feed4.Category=
  2029. Feed4.Priority=0
  2030. Completion.py:Host=
  2031. Completion.py:Port=119
  2032. Completion.py:Username=
  2033. Completion.py:Password=
  2034. Completion.py:Connections=4
  2035. Completion.py:SSL=no
  2036. Completion.py:PauseDownload=yes
  2037. Completion.py:AgeLimit=4
  2038. Completion.py:Prioritize=no
  2039. Completion.py:CheckDupes=SameScore
  2040. Completion.py:ForceFailure=no
  2041. Completion.py:CheckLimit=25
  2042. Completion.py:FullCheckNoPars=yes
  2043. Completion.py:FailureLimitCorrection=0
  2044. Completion.py:Categories=TV
  2045. Completion.py:Verbose=no
  2046. Completion.py:Extreme=no
  2047. NotifyXBMC.py:Host=
  2048. NotifyXBMC.py:Username=
  2049. NotifyXBMC.py:Password=
  2050. NotifyXBMC.py:DisplayNotification=yes
  2051. NotifyXBMC.py:NotificationTitle=NZBGet download finished
  2052. NotifyXBMC.py:NotificationMessage=%nzbname% successfully downloaded.
  2053. NotifyXBMC.py:NotificationImage=
  2054. NotifyXBMC.py:LibraryUpdateType=targeted
  2055. NotifyXBMC.py:LocalRootPath=
  2056. NotifyXBMC.py:RemotePath=
  2057. PasswordDetector.py:PassAction=Pause
  2058. videosort/VideoSort.py:MoviesDir=/mnt/4TB_1/Movies_New
  2059. videosort/VideoSort.py:SeriesDir=/mnt/2TB_1/Completed/TV/Still Running
  2060. videosort/VideoSort.py:/mnt/2TB_1/Completed/TV/Still Running
  2061. videosort/VideoSort.py:OtherTvDir=/mnt/2TB_1/Completed/TV/Still Running
  2062. videosort/VideoSort.py:TvCategories=tv,TV > SD,TV > HD,TV > Sport
  2063. videosort/VideoSort.py:VideoExtensions=.mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso,.ts
  2064. videosort/VideoSort.py:SatelliteExtensions=.srt,.sub,.idx,.rar
  2065. videosort/VideoSort.py:MinSize=80
  2066. videosort/VideoSort.py:MoviesFormat=%t (%y)
  2067. videosort/VideoSort.py:SeriesFormat=%sn/Season %s/%sn - s%0se%0e
  2068. videosort/VideoSort.py:EpisodeSeparator=-
  2069. videosort/VideoSort.py:SeriesYear=yes
  2070. videosort/VideoSort.py:DatedFormat=%sn/%sn - %y-%0m-%0d
  2071. videosort/VideoSort.py:OtherTvFormat=%t
  2072. videosort/VideoSort.py:LowerWords=the,of,and,at,vs,a,an,but,nor,for,on,so,yet
  2073. videosort/VideoSort.py:UpperWords=III,II,IV
  2074. videosort/VideoSort.py:DNZBHeaders=yes
  2075. videosort/VideoSort.py:PreferNZBName=no
  2076. videosort/VideoSort.py:Overwrite=no
  2077. videosort/VideoSort.py:Cleanup=yes
  2078. videosort/VideoSort.py:Preview=no
  2079. videosort/VideoSort.py:Verbose=no
  2080. Category2.DestDir=
  2081. Category2.Unpack=
  2082. Category2.PostScript=
  2083. Category2.Aliases=
  2084. Category3.DestDir=/mnt/2TB_1/Music/_downloaded
  2085. Category3.Unpack=
  2086. Category3.PostScript=FakeDetector.py, PasswordDetector.py
  2087. Category3.Aliases=Audio >*
  2088. Server2.Active=
  2089. Server2.Name=Bulknews
  2090. Server2.Level=50
  2091. Server2.Group=0
  2092. Server2.Host=news.bulknews.eu
  2093. Server2.Port=563
  2094. Server2.Username=removed
  2095. Server2.Password=removed
  2096. Server2.JoinGroup=
  2097. Server2.Encryption=
  2098. Server2.Cipher=
  2099. Server2.Connections=30
  2100. Feed1.Name=DogNZB TV Shows
  2101. Feed1.URL=foobar
  2102. Feed1.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  2103. Feed1.Interval=20
  2104. Feed1.PauseNzb=
  2105. Feed1.Category=
  2106. Feed1.Priority=0
  2107. Feed2.Name=Rifftrax Live
  2108. Feed2.URL=http://www.nzbindex.nl/rss/?q=rifftrax+live&age=30&sort=agedesc&minsize=500&max=25&more=1
  2109. Feed2.Filter=
  2110. Feed2.Interval=360
  2111. Feed2.PauseNzb=
  2112. Feed2.Category=
  2113. Feed2.Priority=0
  2114. Feed3.Name=DogNZB Bookmarks
  2115. Feed3.URL=foobar
  2116. Feed3.Filter=Accept(dupemode:all):*
  2117. Feed3.Interval=32
  2118. Feed3.PauseNzb=
  2119. Feed3.Category=
  2120. Feed3.Priority=0
  2121. Feed4.Name=DogNZB TV Shows
  2122. Feed4.URL=foobar
  2123. Feed4.Filter=# raising dupescore to allow re-downloading an updated release % # Options(dupescore+:100):$[^[:alnum:]]internal[^[:alnum:]] % # internal will rarely be better than a normal release % Options(dupescore+:200):$[^[:alnum:]]repack[^[:alnum:]] % Options(dupescore+:300):$[^[:alnum:]]proper[^[:alnum:]] % Options(dupescore+:400):$[^[:alnum:]]real[^[:alnum:]]
  2124. Feed4.Interval=20
  2125. Feed4.PauseNzb=
  2126. Feed4.Category=
  2127. Feed4.Priority=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement