Advertisement
Guest User

Untitled

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