SHARE
TWEET

nzbToMedia config file

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