From f518d3d49123018511c624856d75542d3679503e Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 8 Feb 2013 16:11:37 +1030 Subject: [PATCH 01/26] Looking forward --- .../10.0/nzbget-postprocess.conf | 162 ++++++ .../10.0/nzbget-postprocess.sh | 501 ++++++++++++++++++ 2 files changed, 663 insertions(+) create mode 100644 nzbget-postprocessing-files/10.0/nzbget-postprocess.conf create mode 100644 nzbget-postprocessing-files/10.0/nzbget-postprocess.sh diff --git a/nzbget-postprocessing-files/10.0/nzbget-postprocess.conf b/nzbget-postprocessing-files/10.0/nzbget-postprocess.conf new file mode 100644 index 00000000..ee3045b4 --- /dev/null +++ b/nzbget-postprocessing-files/10.0/nzbget-postprocess.conf @@ -0,0 +1,162 @@ +# +# This file if part of nzbget +# +# Template configuration file for postprocessing script "nzbget-postprocess.sh". +# Please refer to "nzbget-postprocess.sh" for usage instructions. +# +# Copyright (C) 2008-2012 Andrey Prygunkov +# Copyright (C) 2012 J�rgen Seif +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# + +############################################################################## +### PATHS ### + +# Set the full path to unrar if it is not in your PATH. +UnrarCmd=unrar + +# Set the full path to python if it is not in your PATH. +PythonCmd=/usr/local/python/bin/python + +# Set the full path to sabToSickBeard.py for SickBeard's postprocessing. +NzbToSickBeard=/usr/local/nzbget/var/nzbToSickBeard.py + +# Set the full path where completed movies should be placed +# before SickBeard's Renamer is called +TvDownloadDir= + +# Set the full path to nzbToCouchpotato.py for Couchpotato's postprocessing +NzbToCouchPotato=/usr/local/nzbget/var/nzbToCouchPotato.py + +# Set the full path where completed movies should be placed +# before CouchPotato's Renamer is called +MoviesDownloadDir= + +# Set the full path to any dependency required for your Custom +# Postprocess script if it is not in your PATH. +CustomCmd=/usr/local/python/bin/python + +# Set the full path to the Custom Postprocess script. +CustomScript= + +# Set the full path where completed downloads should be placed +# before the Custom postprocess is called +CustomDownloadDir= + +############################################################################## +### OPTIONS ### + +# Delete rar-files after unpacking (yes, no). +DeleteRarFiles=yes + +# Rename img-files to iso (yes, no). +RenameIMG=yes + +# Joint TS-files (yes, no). +JoinTS=no + +# Perform SickBeard's postprocessing (yes, no). +SickBeard=yes + +# Category for SickBeard's postprocessing. +SickBeardCategory=tv + +# Perform Couchpotato's postprocessing (yes, no). +CouchPotato=yes + +# Category for Couchpotato's postprocessing. +CouchPotatoCategory=movies + +# Perform Custom postprocessing (yes, no). +Custom=yes + +# Category for Custom postprocessing (eg. movies) +CustomCategory=music + +# Clean up list. space seperated, in single quotes, default '*.nzb *.sfv *.1' +FileCleanUp='*.nzb *.sfv *.1' + +# Toggle detailed output (yes, no). +Debug=no + +############################################################################## +### POSTPROCESSING-PARAMETERS ### + +# This section defines parameters, which can be set for each nzb-file +# individually using either web-interface or command line. +# Example command line for setting parameter "password" to value "123" for +# nzb-file with id=2: +# nzbget -E G O Password=123 2 + +# Perform postprocessing (yes, no). +# +# Set to "no" to skip postprocessing for this nzb-file. +PostProcess=yes + +# Password for encrypted posts. +# +# If the post requires a password for unpacking. +Password= + +# Destination directory. +# +# NOTE: NZBGet must have write-access-rights for that directory. +DestDir= + +############################################################################## +### EMAIL-PARAMETERS ### + +# This section defines parameters, which can be set to allow notifications to +# be sent via email. +# This uses sendEmail as authored by Brandon Zehm + +# List Categories for successful download email, default 'tv movies' +Email_successful='tv movies' + +# List Categories for failed download email, default 'tv movies' +Email_failed='tv movies' + +# Set the full path and file name for sendEmail application. +sendEmail=/usr/local/nzbget/var/sendEmail/sendEmail + +# Enter the email address you want this email to be sent from. +Email_From= + +# Enter the email address you want this email to be sent to. +Email_To= + +# Enter smtp server and port. eg smtp.live.com:25 +Email_Server= + +# Enter your smtp server user name (if required) +Email_User= + +# Enter your smtp server password (if required) +Email_Pass= + +# Enter your email subject, in single quotes. +# Use the following tags between the less than and greater than symbols. +# Use status to add 'completed'/'failed'. +# Use name to add the nzb name. +# Use cat to add the download categoty. +# Use script to name the external script used. +Email_Subject='The download of has .' + +# Enter your email message, in single quotes. +# Use the same substitutes as described above. +# Use \r\n for new line. +Email_Message='The download of has . \r\n This has been processed by the script