Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.79 KB | None | 0 0
  1. # nzbToMedia Configuration
  2. # For more information, visit https://github.com/clinton-hall/nzbToMedia/wiki
  3.  
  4. [General]
  5. # Enable/Disable update notifications
  6. version_notify = 1
  7. # Enable/Disable automatic updates
  8. auto_update = 1
  9. # Set to the full path to the git executable
  10. git_path = ""
  11. # GitHUB user for repo
  12. git_user = ""
  13. # GitHUB branch for repo
  14. git_branch = ""
  15. # Enable/Disable forceful cleaning of leftover files following postprocess
  16. force_clean = 0
  17. # Enable/Disable logging debug messages to nzbtomedia.log
  18. log_debug = 0
  19. # Enable/Disable logging database messages to nzbtomedia.log
  20. log_db = 0
  21. # Enable/Disable logging environment variables to debug nzbtomedia.log (helpful to track down errors calling external tools.)
  22. log_env = 0
  23. # Enable/Disable logging git output to debug nzbtomedia.log (helpful to track down update failures.)
  24. log_git = 0
  25. # Set to the directory where your ffmpeg/ffprobe executables are located
  26. ffmpeg_path = ""
  27. # Enable/Disable media file checking using ffprobe.
  28. check_media = 1
  29. # Enable/Disable a safety check to ensure we don't process all downloads in the default_downloadDirectories by mistake.
  30. safe_mode = 1
  31. # Turn this on to disable additional extraction attempts for failed downloads. Default = 0 will attempt to extract and verify if media is present.
  32. no_extract_failed = 0
  33.  
  34. [Posix]
  35. ### Process priority setting for External commands (Extractor and Transcoder) on Posix (Unix/Linux/OSX) systems.
  36. # Set the Niceness value for the nice command. These range from -20 (most favorable to the process) to 19 (least favorable to the process).
  37. niceness = 10
  38. # Set the ionice scheduling class. 0 for none, 1 for real time, 2 for best-effort, 3 for idle.
  39. ionice_class = 2
  40. # Set the ionice scheduling class data. This defines the class data, if the class accepts an argument. For real time and best-effort, 0-7 is valid data.
  41. ionice_classdata = 4
  42.  
  43. [CouchPotato]
  44. #### autoProcessing for Movies
  45. #### movie - category that gets called for post-processing with CPS
  46. [[movie]]
  47. enabled = 1
  48. apikey = ""
  49. host = localhost
  50. port = 5050
  51. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  52. ssl = 0
  53. web_root = ""
  54. # Enable/Disable linking for Torrents
  55. Torrent_NoLink = 0
  56. keep_archive = 1
  57. method = renamer
  58. delete_failed = 0
  59. wait_for = 2
  60. extract = 1
  61. # Set this to minimum required size to consider a media file valid (in MB)
  62. minSize = 0
  63. # Enable/Disable deleting ignored files (samples and invalid media files)
  64. delete_ignored = 0
  65. ##### Enable if Couchpotato is on a remote server for this category
  66. remote_path = 0
  67. ##### Set to path where download client places completed downloads locally for this category
  68. watch_dir = ""
  69. ##### Set the recursive directory permissions to the following (0 to disable)
  70. chmodDirectory = 0
  71. [[Movies]]
  72. apikey = myapikey
  73. host = localhost
  74. port = 5050
  75. ssl = 0
  76. web_root = ""
  77. method = renamer
  78. delete_failed = 1
  79. remote_path = 0
  80. wait_for = 2
  81. watch_dir = ""
  82. enabled = 1
  83.  
  84. [SickBeard]
  85. #### autoProcessing for TV Series
  86. #### tv - category that gets called for post-processing with SB
  87. [[tv]]
  88. enabled = 1
  89. host = localhost
  90. port = 8899
  91. username = ""
  92. password = ""
  93. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  94. web_root = ""
  95. ssl = 0
  96. fork = auto
  97. delete_failed = 1
  98. # Enable/Disable linking for Torrents
  99. Torrent_NoLink = 0
  100. keep_archive = 1
  101. process_method = move
  102. # force processing of already processed content when running a manual scan.
  103. force = 0
  104. # tell SickRage/Medusa to delete all source files after processing.
  105. delete_on = 0
  106. # tell Medusa to ignore check for associated subtitle check when postponing release
  107. ignore_subs = 0
  108. extract = 1
  109. nzbExtractionBy = Downloader
  110. # Set this to minimum required size to consider a media file valid (in MB)
  111. minSize = 0
  112. # Enable/Disable deleting ignored files (samples and invalid media files)
  113. delete_ignored = 0
  114. ##### Enable if SickBeard is on a remote server for this category
  115. remote_path = 0
  116. ##### Set to path where download client places completed downloads locally for this category
  117. watch_dir = ""
  118. ##### Set the recursive directory permissions to the following (0 to disable)
  119. chmodDirectory = 0
  120. [[Series]]
  121. host = localhost
  122. port = 8899
  123. username = ""
  124. password = ""
  125. ssl = 0
  126. web_root = ""
  127. watch_dir = ""
  128. fork = auto
  129. delete_failed = 0
  130. remote_path = 0
  131. process_method = ""
  132. enabled = 1
  133.  
  134. [NzbDrone]
  135. #### autoProcessing for TV Series
  136. #### ndCategory - category that gets called for post-processing with NzbDrone
  137. [[tv]]
  138. enabled = 0
  139. apikey = ""
  140. host = localhost
  141. port = 8989
  142. username = ""
  143. password = ""
  144. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  145. web_root = ""
  146. ssl = 0
  147. delete_failed = 0
  148. # Enable/Disable linking for Torrents
  149. Torrent_NoLink = 0
  150. keep_archive = 1
  151. extract = 1
  152. nzbExtractionBy = Downloader
  153. wait_for = 2
  154. # Set this to minimum required size to consider a media file valid (in MB)
  155. minSize = 0
  156. # Enable/Disable deleting ignored files (samples and invalid media files)
  157. delete_ignored = 0
  158. ##### Enable if NzbDrone is on a remote server for this category
  159. remote_path = 0
  160. ##### Set to path where download client places completed downloads locally for this category
  161. watch_dir = ""
  162. [[tv2]]
  163. host = localhost
  164. apikey = ""
  165. port = 8989
  166. ssl = 0
  167. web_root = ""
  168. delete_failed = 0
  169. wait_for = 2
  170. remote_path = 0
  171. enabled = 1
  172.  
  173. [HeadPhones]
  174. #### autoProcessing for Music
  175. #### music - category that gets called for post-processing with HP
  176. [[music]]
  177. enabled = 1
  178. apikey = ""
  179. host = localhost
  180. port = 8181
  181. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  182. ssl = 0
  183. web_root = ""
  184. wait_for = 2
  185. # Enable/Disable linking for Torrents
  186. Torrent_NoLink = 0
  187. keep_archive = 1
  188. extract = 1
  189. # Set this to minimum required size to consider a media file valid (in MB)
  190. minSize = 0
  191. # Enable/Disable deleting ignored files (samples and invalid media files)
  192. delete_ignored = 0
  193. ##### Enable if HeadPhones is on a remote server for this category
  194. remote_path = 0
  195. ##### Set to path where download client places completed downloads locally for this category
  196. watch_dir = ""
  197.  
  198. [Mylar]
  199. #### autoProcessing for Comics
  200. #### comics - category that gets called for post-processing with Mylar
  201. [[comics]]
  202. enabled = 1
  203. host = localhost
  204. port = 8090
  205. username = ""
  206. password = ""
  207. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  208. web_root = ""
  209. ssl = 0
  210. # Enable/Disable linking for Torrents
  211. Torrent_NoLink = 0
  212. keep_archive = 1
  213. extract = 1
  214. # Set this to minimum required size to consider a media file valid (in MB)
  215. minSize = 0
  216. # Enable/Disable deleting ignored files (samples and invalid media files)
  217. delete_ignored = 0
  218. ##### Enable if Mylar is on a remote server for this category
  219. remote_path = 0
  220. ##### Set to path where download client places completed downloads locally for this category
  221. watch_dir = ""
  222.  
  223. [Gamez]
  224. #### autoProcessing for Games
  225. #### games - category that gets called for post-processing with Gamez
  226. [[games]]
  227. enabled = 1
  228. apikey = ""
  229. host = localhost
  230. port = 8085
  231. ######
  232. library = Set to path where you want the processed games to be moved to.
  233. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  234. ssl = 0
  235. web_root = ""
  236. # Enable/Disable linking for Torrents
  237. Torrent_NoLink = 0
  238. keep_archive = 1
  239. extract = 1
  240. # Set this to minimum required size to consider a media file valid (in MB)
  241. minSize = 0
  242. # Enable/Disable deleting ignored files (samples and invalid media files)
  243. delete_ignored = 0
  244. ##### Enable if Gamez is on a remote server for this category
  245. remote_path = 0
  246. ##### Set to path where download client places completed downloads locally for this category
  247. watch_dir = ""
  248.  
  249. [Network]
  250. # Enter Mount points as LocalPath,RemotePath and separate each pair with '|'
  251. # e.g. MountPoints = /volume1/Public/,E:\|/volume2/share/,\\NAS\
  252. mount_points = ""
  253.  
  254. [Nzb]
  255. ###### clientAgent - Supported clients: sabnzbd, nzbget
  256. clientAgent = sabnzbd
  257. ###### SabNZBD (You must edit this if your using nzbToMedia.py with SabNZBD)
  258. sabnzbd_host = http://localhost
  259. sabnzbd_port = 8080
  260. sabnzbd_apikey = ""
  261. ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
  262. default_downloadDirectory = /volume1/downloads/nzbget/completed
  263.  
  264. [Torrent]
  265. ###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other
  266. clientAgent = other
  267. ###### useLink - Set to hard for physical links, sym for symbolic links, move to move, move-sym to move and link back, and no to not use links (copy)
  268. useLink = hard
  269. ###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
  270. outputDirectory = /abs/path/to/complete/
  271. ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
  272. default_downloadDirectory = ""
  273. ###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.
  274. categories = music_videos, pictures, software, manual
  275. ###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.
  276. noFlatten = pictures, manual
  277. ###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)
  278. uTorrentWEBui = http://localhost:8090/gui/
  279. uTorrentUSR = your username
  280. uTorrentPWD = your password
  281. ###### Transmission (You must edit this if your using TorrentToMedia.py with Transmission)
  282. TransmissionHost = localhost
  283. TransmissionPort = 9091
  284. TransmissionUSR = your username
  285. TransmissionPWD = your password
  286. #### Deluge (You must edit this if your using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui)
  287. DelugeHost = localhost
  288. DelugePort = 58846
  289. DelugeUSR = your username
  290. DelugePWD = your password
  291. ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
  292. deleteOriginal = 0
  293. chmodDirectory = 0
  294. resume = 1
  295. resumeOnFailure = 1
  296.  
  297. [Extensions]
  298. compressedExtensions = .zip, .rar, .7z, .gz, .bz, .tar, .arj, .1, .01, .001
  299. mediaExtensions = ".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso,.ts"
  300. audioExtensions = .mp3, .aac, .ogg, .ape, .m4a, .asf, .wma, .flac
  301. metaExtensions = .nfo, .sub, .srt, .jpg, .gif
  302.  
  303. [Plex]
  304. # Only enter these details if you want to update plex library after processing.
  305. # Do not enter these details if you send the plex notifications from Sickbeard/CouchPotato.
  306. plex_host = localhost
  307. plex_port = 32400
  308. plex_token = ""
  309. plex_ssl = 0
  310. # Enter Plex category to section mapping as Category,section and separate each pair with '|'
  311. # e.g. plex_sections = movie,3|tv,4
  312. plex_sections = ""
  313.  
  314. [Transcoder]
  315. # getsubs. enable to download subtitles.
  316. getSubs = 0
  317. # subLanguages. create a list of languages in the order you want them in your subtitles.
  318. subLanguages = "eng,spa,fra"
  319. # transcode. enable to use transcoder
  320. transcode = 0
  321. ###### duplicate =1 will create a new file. =0 will replace the original
  322. duplicate = 1
  323. # concat. joins cd1 cd2 etc into a single video.
  324. concat = 1
  325. # IgnoreExtensions is a comma-separated list of extensions that will not be transcoded.
  326. ignoreExtensions = ".avi,.mkv"
  327. # outputFastStart. 1 will use -movflags + faststart. 0 will disable this from being used.
  328. outputFastStart = 0
  329. # outputQualityPercent. used as -q:a value. 0 will disable this from being used.
  330. outputQualityPercent = ""
  331. # outputVideoPath. Set path you want transcoded videos moved to. Leave blank to disable.
  332. outputVideoPath = ""
  333. # processOutput. 1 will send the outputVideoPath to SickBeard/CouchPotato. 0 will send original files.
  334. processOutput = 0
  335. # audioLanguage. set the 3 letter language code you want as your primary audio track.
  336. audioLanguage = eng
  337. # allAudioLanguages. 1 will keep all audio tracks (uses AudioCodec3) where available.
  338. allAudioLanguages = 0
  339. # allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
  340. allSubLanguages = 0
  341. # embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
  342. embedSubs = 1
  343. # burnInSubtitle. burns the default sub language into your video (needed for players that don't support subs)
  344. burnInSubtitle = 0
  345. # extractSubs. 1 will extract subs from the video file and save these as external srt files.
  346. extractSubs = 0
  347. # externalSubDir. set the directory where subs should be saved (if not the same directory as the video)
  348. externalSubDir = ""
  349. # hwAccel. 1 will set ffmpeg to enable hardware acceleration (this requires a recent ffmpeg)
  350. hwAccel = 0
  351. # generalOptions. Enter your additional ffmpeg options here with commas to separate each option/value (i.e replace spaces with commas).
  352. generalOptions = ""
  353. # outputDefault. Loads default configs for the selected device. The remaining options below are ignored.
  354. # If you want to use your own profile, leave this blank and set the remaining options below.
  355. # outputDefault profiles allowed: iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release
  356. outputDefault = None
  357. #### Define custom settings below.
  358. outputVideoExtension = .mp4
  359. outputVideoCodec = libx264
  360. VideoCodecAllow = ""
  361. outputVideoPreset = medium
  362. outputVideoResolution = 720:-1
  363. outputVideoFramerate = 24
  364. outputVideoBitrate = 800k
  365. outputVideoCRF = 19
  366. outputVideoLevel = 3.1
  367. outputAudioCodec = ac3
  368. AudioCodecAllow = ""
  369. outputAudioChannels = 6
  370. outputAudioBitrate = 640k
  371. outputAudioTrack2Codec = libfaac
  372. AudioCodec2Allow = ""
  373. outputAudioTrack2Channels = 2
  374. outputAudioTrack2Bitrate = 160k
  375. outputAudioOtherCodec = libmp3lame
  376. AudioOtherCodecAllow = ""
  377. outputAudioOtherChannels = 2
  378. outputAudioOtherBitrate = 128k
  379. outputSubtitleCodec = ""
  380.  
  381. [WakeOnLan]
  382. ###### set wake = 1 to send WOL broadcast to the mac and test the server (e.g. xbmc) the host and port specified.
  383. wake = 0
  384. host = 192.168.1.37
  385. port = 80
  386. mac = 00:01:2e:2D:64:e1
  387.  
  388. [UserScript]
  389. #Use user_script for uncategorized downloads
  390. #Set the categories to use external script.
  391. #Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
  392. [[UNCAT]]
  393. #Enable/Disable this subsection category
  394. enabled = 0
  395. Torrent_NoLink = 0
  396. keep_archive = 1
  397. extract = 1
  398. #Enable if you are sending commands to a remote server for this category
  399. remote_path = 0
  400. #What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
  401. user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
  402. #Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
  403. user_script_path = /nzbToMedia/userscripts/script.sh
  404. #Specify the argument(s) passed to script, comma separated in order.
  405. #for example FP,FN,DN, TN, TL for file path (absolute file name with path), file name, absolute directory name (with path), Torrent Name, Torrent Label/Category.
  406. #So the result is /media/test/script/script.sh FP FN DN TN TL. Add other arguments as needed eg -f, -r
  407. user_script_param = FN
  408. #Set user_script_runOnce = 0 to run for each file, or 1 to only run once (presumably on the entire directory).
  409. user_script_runOnce = 0
  410. #Specify the successcodes returned by the user script as a comma separated list. Linux default is 0
  411. user_script_successCodes = 0
  412. #Clean after? Note that delay function is used to prevent possible mistake :) Delay is intended as seconds
  413. user_script_clean = 1
  414. delay = 120
  415. #Unique path (directory) created for every download. set 0 to disable.
  416. unique_path = 1
  417. ##### Set to path where download client places completed downloads locally for this category
  418. watch_dir = ""
  419. [[mine]]
  420. user_script_mediaExtensions = ".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg"
  421. user_script_path = /nzbToMedia/userscripts/script.sh
  422. user_script_param = FN
  423. user_script_runOnce = 0
  424. user_script_successCodes = 0
  425. user_script_clean = 1
  426. delay = 120
  427. remote_path = 0
  428. enabled = 1
  429.  
  430. [ASCII]
  431. #Set convert =1 if you want to convert any "foreign" characters to ASCII (UTF8) before passing to SB/CP etc. Default is disabled (0).
  432. convert = 0
  433.  
  434. [passwords]
  435. # enter the full path to a text file containing passwords to be used for extraction attempts.
  436. # In the passwords file, every password should be on a new line
  437. PassWordFile = ""
  438.  
  439. [Custom]
  440. # enter a list (comma separated) of Group Tags you want removed from filenames to help with subtitle matching.
  441. # e.g remove_group = [rarbag],-NZBgeek
  442. # be careful if your "group" is a common "real" word. Please report if you have any group replacements that would fall in this category.
  443. remove_group = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement