· 6 years ago · Feb 14, 2020, 11:06 PM
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 = /usr/bin/git
11 # GitHUB user for repo
12 git_user = ""
13 # GitHUB branch for repo
14 git_branch = dev
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 = 0
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 = 0
25 # Set to the directory to search for executables if not in default system path
26 sys_path = ""
27 # Set to the directory where your ffmpeg/ffprobe executables are located
28 ffmpeg_path = /usr/bin/
29 # Enable/Disable media file checking using ffprobe.
30 check_media = 1
31 # Enable/Disable a safety check to ensure we don't process all downloads in the default_downloadDirectories by mistake.
32 safe_mode = 1
33 # Turn this on to disable additional extraction attempts for failed downloads. Default = 0 will attempt to extract and verify if media is present.
34 no_extract_failed = 0
35
36[Posix]
37 ### Process priority setting for External commands (Extractor and Transcoder) on Posix (Unix/Linux/OSX) systems.
38 # Set the Niceness value for the nice command. These range from -20 (most favorable to the process) to 19 (least favorable to the process).
39 # If entering an integer e.g 'niceness = 4', this is added to the nice command and passed as 'nice -n4' (Default).
40 # If entering a comma separated list e.g. 'niceness = nice,4' this will be passed as 'nice 4' (Safer).
41 niceness = nice, -n0
42 # Set the ionice scheduling class. 0 for none, 1 for real time, 2 for best-effort, 3 for idle.
43 ionice_class = 0
44 # 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.
45 ionice_classdata = 0
46
47[Windows]
48 ### Set specific settings for Windows systems
49 # Set this to 1 to allow extraction (7zip) windows to be lunched visble (for debugging) otherwise 0 to have this run in background.
50 show_extraction = 0
51
52[CouchPotato]
53 #### autoProcessing for Movies
54 #### movie - category that gets called for post-processing with CPS
55 [[movie]]
56 enabled = 0
57 apikey = ""
58 host = localhost
59 port = 5050
60 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
61 ssl = 0
62 web_root = ""
63 # api key for www.omdbapi.com (used as alternative to imdb)
64 omdbapikey = ""
65 # Enable/Disable linking for Torrents
66 Torrent_NoLink = 0
67 keep_archive = 1
68 method = renamer
69 delete_failed = 0
70 wait_for = 2
71 extract = 1
72 # Set this to minimum required size to consider a media file valid (in MB)
73 minSize = 0
74 # Enable/Disable deleting ignored files (samples and invalid media files)
75 delete_ignored = 0
76 ##### Enable if Couchpotato is on a remote server for this category
77 remote_path = 0
78 ##### Set to path where download client places completed downloads locally for this category
79 watch_dir = ""
80 ##### Set the recursive directory permissions to the following (0 to disable)
81 chmodDirectory = 0
82
83[Radarr]
84 #### autoProcessing for Movies
85 #### raCategory - category that gets called for post-processing with Radarr
86 [[movie]]
87 enabled = 0
88 apikey = ""
89 host = localhost
90 port = 7878
91 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
92 web_root = ""
93 ssl = 0
94 # api key for www.omdbapi.com (used as alternative to imdb)
95 omdbapikey = ""
96 delete_failed = 0
97 # Enable/Disable linking for Torrents
98 Torrent_NoLink = 0
99 keep_archive = 1
100 extract = 1
101 nzbExtractionBy = Downloader
102 wait_for = 6
103 # Set this to minimum required size to consider a media file valid (in MB)
104 minSize = 0
105 # Enable/Disable deleting ignored files (samples and invalid media files)
106 delete_ignored = 0
107 ##### Enable if NzbDrone is on a remote server for this category
108 remote_path = 0
109 ##### Set to path where download client places completed downloads locally for this category
110 watch_dir = ""
111 ##### Set to define import behavior Move or Copy
112 importMode = Copy
113 [[Film]]
114 enabled = 1
115 apikey = d3ddde8fcfe74bf99f81cba41d4f13f7
116 host = localhost
117 port = 7878
118 web_root = ""
119 ssl = 0
120 omdbapikey = ""
121 delete_failed = 1
122 Torrent_NoLink = 1
123 keep_archive = 1
124 extract = 1
125 nzbExtractionBy = Downloader
126 wait_for = 6
127 minSize = 0
128 delete_ignored = 1
129 remote_path = 0
130 watch_dir = /data/Download/Automatici/Film
131 importMode = Copy
132
133[Watcher3]
134 #### autoProcessing for Movies
135 #### movie - category that gets called for post-processing with CPS
136 [[movie]]
137 enabled = 0
138 apikey = ""
139 host = localhost
140 port = 9090
141 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
142 ssl = 0
143 web_root = ""
144 # api key for www.omdbapi.com (used as alternative to imdb)
145 omdbapikey = ""
146 # Enable/Disable linking for Torrents
147 Torrent_NoLink = 0
148 keep_archive = 1
149 delete_failed = 0
150 wait_for = 0
151 extract = 1
152 # Set this to minimum required size to consider a media file valid (in MB)
153 minSize = 0
154 # Enable/Disable deleting ignored files (samples and invalid media files)
155 delete_ignored = 0
156 ##### Enable if Watcher3 is on a remote server for this category
157 remote_path = 0
158 ##### Set to path where download client places completed downloads locally for this category
159 watch_dir = ""
160 ##### Set the recursive directory permissions to the following (0 to disable)
161 chmodDirectory = 0
162
163[SickBeard]
164 #### autoProcessing for TV Series
165 #### tv - category that gets called for post-processing with SB
166 [[tv]]
167 enabled = 0
168 host = localhost
169 port = 8081
170 apikey = ""
171 username = ""
172 password = ""
173 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
174 web_root = ""
175 ssl = 0
176 fork = auto
177 delete_failed = 0
178 # Enable/Disable linking for Torrents
179 Torrent_NoLink = 0
180 keep_archive = 1
181 process_method = ""
182 # force processing of already processed content when running a manual scan.
183 force = 0
184 # tell SickRage/Medusa to delete all source files after processing.
185 delete_on = 0
186 # tell Medusa to ignore check for associated subtitle check when postponing release
187 ignore_subs = 0
188 extract = 1
189 nzbExtractionBy = Downloader
190 # Set this to minimum required size to consider a media file valid (in MB)
191 minSize = 0
192 # Enable/Disable deleting ignored files (samples and invalid media files)
193 delete_ignored = 0
194 ##### Enable if SickBeard is on a remote server for this category
195 remote_path = 0
196 ##### Set to path where download client places completed downloads locally for this category
197 watch_dir = ""
198 ##### Set the recursive directory permissions to the following (0 to disable)
199 chmodDirectory = 0
200
201[NzbDrone]
202 #### Formerly known as NzbDrone this is now Sonarr
203 #### autoProcessing for TV Series
204 #### ndCategory - category that gets called for post-processing with NzbDrone/Sonarr
205 [[tv]]
206 enabled = 0
207 apikey = ""
208 host = localhost
209 port = 8989
210 username = ""
211 password = ""
212 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
213 web_root = ""
214 ssl = 0
215 delete_failed = 0
216 # Enable/Disable linking for Torrents
217 Torrent_NoLink = 0
218 keep_archive = 1
219 extract = 1
220 nzbExtractionBy = Downloader
221 wait_for = 6
222 # Set this to minimum required size to consider a media file valid (in MB)
223 minSize = 0
224 # Enable/Disable deleting ignored files (samples and invalid media files)
225 delete_ignored = 0
226 ##### Enable if NzbDrone is on a remote server for this category
227 remote_path = 0
228 ##### Set to path where download client places completed downloads locally for this category
229 watch_dir = ""
230 ##### Set to define import behavior Move or Copy
231 importMode = Copy
232 [[Serie_Tv]]
233 enabled = 1
234 apikey = ee1b666e522843d9a844250f6ac9aeaf
235 host = localhost
236 port = 8989
237 username = ""
238 password = ""
239 web_root = ""
240 ssl = 0
241 delete_failed = 1
242 Torrent_NoLink = 1
243 keep_archive = 1
244 extract = 1
245 nzbExtractionBy = Downloader
246 wait_for = 6
247 minSize = 0
248 delete_ignored = 1
249 remote_path = 0
250 watch_dir = /data/Download/Automatici/Serie_Tv
251 importMode = Copy
252
253[HeadPhones]
254 #### autoProcessing for Music
255 #### music - category that gets called for post-processing with HP
256 [[music]]
257 enabled = 0
258 apikey = ""
259 host = localhost
260 port = 8181
261 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
262 ssl = 0
263 web_root = ""
264 delete_failed = 0
265 wait_for = 2
266 # Enable/Disable linking for Torrents
267 Torrent_NoLink = 0
268 keep_archive = 1
269 extract = 1
270 # Set this to minimum required size to consider a media file valid (in MB)
271 minSize = 0
272 # Enable/Disable deleting ignored files (samples and invalid media files)
273 delete_ignored = 0
274 ##### Enable if HeadPhones is on a remote server for this category
275 remote_path = 0
276 ##### Set to path where download client places completed downloads locally for this category
277 watch_dir = ""
278
279[Lidarr]
280 #### autoProcessing for Music
281 #### LiCategory - category that gets called for post-processing with Lidarr
282 [[music]]
283 enabled = 0
284 apikey = ""
285 host = localhost
286 port = 8686
287 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
288 web_root = ""
289 ssl = 0
290 delete_failed = 0
291 # Enable/Disable linking for Torrents
292 Torrent_NoLink = 0
293 keep_archive = 1
294 extract = 1
295 nzbExtractionBy = Downloader
296 wait_for = 6
297 # Set this to minimum required size to consider a media file valid (in MB)
298 minSize = 0
299 # Enable/Disable deleting ignored files (samples and invalid media files)
300 delete_ignored = 0
301 ##### Enable if NzbDrone is on a remote server for this category
302 remote_path = 0
303 ##### Set to path where download client places completed downloads locally for this category
304 watch_dir = ""
305
306[Mylar]
307 #### autoProcessing for Comics
308 #### comics - category that gets called for post-processing with Mylar
309 [[comics]]
310 enabled = 0
311 host = localhost
312 port = 8090
313 apikey = ""
314 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
315 web_root = ""
316 ssl = 0
317 # Enable/Disable linking for Torrents
318 Torrent_NoLink = 0
319 keep_archive = 1
320 extract = 1
321 # Set this to minimum required size to consider a media file valid (in MB)
322 minSize = 0
323 # Enable/Disable deleting ignored files (samples and invalid media files)
324 delete_ignored = 0
325 ##### Enable if Mylar is on a remote server for this category
326 remote_path = 0
327 ##### Set to path where download client places completed downloads locally for this category
328 watch_dir = ""
329
330[Gamez]
331 #### autoProcessing for Games
332 #### games - category that gets called for post-processing with Gamez
333 [[games]]
334 enabled = 0
335 apikey = ""
336 host = localhost
337 port = 8085
338 ######
339 library = Set to path where you want the processed games to be moved to.
340 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
341 ssl = 0
342 web_root = ""
343 # Enable/Disable linking for Torrents
344 Torrent_NoLink = 0
345 keep_archive = 1
346 extract = 1
347 # Set this to minimum required size to consider a media file valid (in MB)
348 minSize = 0
349 # Enable/Disable deleting ignored files (samples and invalid media files)
350 delete_ignored = 0
351 ##### Enable if Gamez is on a remote server for this category
352 remote_path = 0
353 ##### Set to path where download client places completed downloads locally for this category
354 watch_dir = ""
355
356[LazyLibrarian]
357 #### autoProcessing for LazyLibrarian
358 #### books - category that gets called for post-processing with LazyLibrarian
359 [[books]]
360 enabled = 0
361 apikey = ""
362 host = localhost
363 port = 5299
364 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
365 ssl = 0
366 web_root = ""
367 # Enable/Disable linking for Torrents
368 Torrent_NoLink = 0
369 keep_archive = 1
370 extract = 1
371 # Set this to minimum required size to consider a media file valid (in MB)
372 minSize = 0
373 # Enable/Disable deleting ignored files (samples and invalid media files)
374 delete_ignored = 0
375 ##### Enable if LazyLibrarian is on a remote server for this category
376 remote_path = 0
377 ##### Set to path where download client places completed downloads locally for this category
378 watch_dir = ""
379
380
381[Network]
382 # Enter Mount points as LocalPath,RemotePath and separate each pair with '|'
383 # e.g. MountPoints = /volume1/Public/,E:\|/volume2/share/,\\NAS\
384 mount_points = ""
385
386[Nzb]
387 ###### clientAgent - Supported clients: sabnzbd, nzbget
388 clientAgent = sabnzbd
389 ###### SabNZBD (You must edit this if you're using nzbToMedia.py with SabNZBD)
390 sabnzbd_host = http://localhost
391 sabnzbd_port = 8080
392 sabnzbd_apikey = ""
393 ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
394 default_downloadDirectory = ""
395
396[Torrent]
397 ###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, qbittorrent, other
398 clientAgent = qbittorrent
399 ###### 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)
400 useLink = hard
401 ###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
402 outputDirectory = /data/Download/Automatici/Process
403 ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
404 default_downloadDirectory = /data/Download
405 ###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.
406 categories = FreeLeech
407 ###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.
408 noFlatten = ""
409 ###### uTorrent Hardlink solution (You must edit this if you're using TorrentToMedia.py with uTorrent)
410 uTorrentWEBui = http://localhost:8090/gui/
411 uTorrentUSR = your username
412 uTorrentPWD = your password
413 ###### Transmission (You must edit this if you're using TorrentToMedia.py with Transmission)
414 TransmissionHost = localhost
415 TransmissionPort = 9091
416 TransmissionUSR = your username
417 TransmissionPWD = your password
418 #### Deluge (You must edit this if you're using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui)
419 DelugeHost = localhost
420 DelugePort = 58846
421 DelugeUSR = your username
422 DelugePWD = your password
423 ###### qBittorrent (You must edit this if you're using TorrentToMedia.py with qBittorrent)
424 qBittorrenHost = localhost
425 qBittorrentPort = 8081
426 qBittorrentUSR = admin
427 qBittorrentPWD = adminadmin
428 ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
429 deleteOriginal = 0
430 chmodDirectory = 0
431 resume = 1
432 resumeOnFailure = 1
433
434[Extensions]
435 compressedExtensions = .zip, .rar, .7z, .gz, .bz, .tar, .arj, .1, .01, .001
436 mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg, .vob, .iso, .m4v, .ts
437 audioExtensions = .mp3, .aac, .ogg, .ape, .m4a, .asf, .wma, .flac
438 metaExtensions = .nfo, .sub, .srt, .jpg, .gif
439
440[Plex]
441 # Only enter these details if you want to update plex library after processing.
442 # Do not enter these details if you send the plex notifications from Sickbeard/CouchPotato.
443 plex_host = localhost
444 plex_port = 32400
445 plex_token = ""
446 plex_ssl = 0
447 # Enter Plex category to section mapping as Category,section and separate each pair with '|'
448 # e.g. plex_sections = movie,3|tv,4
449 plex_sections = ""
450
451[Transcoder]
452 # getsubs. enable to download subtitles.
453 getSubs = 0
454 # subLanguages. create a list of languages in the order you want them in your subtitles.
455 subLanguages = eng, spa, fra
456 # transcode. enable to use transcoder
457 transcode = 0
458 ###### duplicate =1 will create a new file. =0 will replace the original
459 duplicate = 1
460 # concat. joins cd1 cd2 etc into a single video.
461 concat = 1
462 # IgnoreExtensions is a comma-separated list of extensions that will not be transcoded.
463 ignoreExtensions = .avi, .mkv, .mp4
464 # outputFastStart. 1 will use -movflags + faststart. 0 will disable this from being used.
465 outputFastStart = 0
466 # outputQualityPercent. used as -q:a value. 0 will disable this from being used.
467 outputQualityPercent = 0
468 # outputVideoPath. Set path you want transcoded videos moved to. Leave blank to disable.
469 outputVideoPath = ""
470 # processOutput. 1 will send the outputVideoPath to SickBeard/CouchPotato. 0 will send original files.
471 processOutput = 0
472 # audioLanguage. set the 3 letter language code you want as your primary audio track.
473 audioLanguage = eng
474 # allAudioLanguages. 1 will keep all audio tracks (uses AudioCodec3) where available.
475 allAudioLanguages = 0
476 # allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
477 allSubLanguages = 0
478 # embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
479 embedSubs = 1
480 # burnInSubtitle. burns the default sub language into your video (needed for players that don't support subs)
481 burnInSubtitle = 0
482 # extractSubs. 1 will extract subs from the video file and save these as external srt files.
483 extractSubs = 0
484 # externalSubDir. set the directory where subs should be saved (if not the same directory as the video)
485 externalSubDir = ""
486 # hwAccel. 1 will set ffmpeg to enable hardware acceleration (this requires a recent ffmpeg)
487 hwAccel = 0
488 # generalOptions. Enter your additional ffmpeg options (these insert before the '-i' input files) here with commas to separate each option/value (i.e replace spaces with commas).
489 generalOptions = ""
490 # otherOptions. Enter your additional ffmpeg options (these insert after the '-i' input files and before the output file) here with commas to separate each option/value (i.e replace spaces with commas).
491 otherOptions = ""
492 # outputDefault. Loads default configs for the selected device. The remaining options below are ignored.
493 # If you want to use your own profile, leave this blank and set the remaining options below.
494 # outputDefault profiles allowed: iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mkv-bluray, mp4-scene-release
495 outputDefault = ""
496 #### Define custom settings below.
497 outputVideoExtension = .mp4
498 outputVideoCodec = libx264
499 VideoCodecAllow = ""
500 outputVideoPreset = medium
501 outputVideoResolution = 1920:1080
502 outputVideoFramerate = 24
503 outputVideoBitrate = 800000
504 outputVideoCRF = 19
505 outputVideoLevel = 3.1
506 outputAudioCodec = ac3
507 AudioCodecAllow = ""
508 outputAudioChannels = 6
509 outputAudioBitrate = 640k
510 outputAudioTrack2Codec = libfaac
511 AudioCodec2Allow = ""
512 outputAudioTrack2Channels = 2
513 outputAudioTrack2Bitrate = 128000
514 outputAudioOtherCodec = libmp3lame
515 AudioOtherCodecAllow = ""
516 outputAudioOtherChannels = ""
517 outputAudioOtherBitrate = 128000
518 outputSubtitleCodec = ""
519
520[WakeOnLan]
521 ###### set wake = 1 to send WOL broadcast to the mac and test the server (e.g. xbmc) the host and port specified.
522 wake = 0
523 host = 192.168.1.37
524 port = 80
525 mac = 00:01:2e:2D:64:e1
526
527[UserScript]
528 #Use user_script for uncategorized downloads
529 #Set the categories to use external script.
530 #Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
531 [[UNCAT]]
532 #Enable/Disable this subsection category
533 enabled = 0
534 Torrent_NoLink = 0
535 keep_archive = 1
536 extract = 1
537 #Enable if you are sending commands to a remote server for this category
538 remote_path = 0
539 #What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
540 user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
541 #Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
542 user_script_path = /nzbToMedia/userscripts/script.sh
543 #Specify the argument(s) passed to script, comma separated in order.
544 #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.
545 #So the result is /media/test/script/script.sh FP FN DN TN TL. Add other arguments as needed eg -f, -r
546 user_script_param = FN
547 #Set user_script_runOnce = 0 to run for each file, or 1 to only run once (presumably on the entire directory).
548 user_script_runOnce = 0
549 #Specify the successcodes returned by the user script as a comma separated list. Linux default is 0
550 user_script_successCodes = 0
551 #Clean after? Note that delay function is used to prevent possible mistake :) Delay is intended as seconds
552 user_script_clean = 1
553 delay = 120
554 #Unique path (directory) created for every download. set 0 to disable.
555 unique_path = 1
556 ##### Set to path where download client places completed downloads locally for this category
557 watch_dir = ""
558
559[ASCII]
560 #Set convert =1 if you want to convert any "foreign" characters to ASCII (UTF8) before passing to SB/CP etc. Default is disabled (0).
561 convert = 0
562
563[Passwords]
564 # enter the full path to a text file containing passwords to be used for extraction attempts.
565 # In the passwords file, every password should be on a new line
566 PassWordFile = ""
567
568[Custom]
569 # enter a list (comma separated) of Group Tags you want removed from filenames to help with subtitle matching.
570 # e.g remove_group = [rarbag],-NZBgeek
571 # be careful if your "group" is a common "real" word. Please report if you have any group replacements that would fall in this category.
572 remove_group = ""