Added Custom email and Custom Postprocess

This commit is contained in:
clinton-hall 2012-12-18 16:50:52 -08:00
commit 675b0e7efd

View file

@ -46,6 +46,17 @@ NzbToCouchPotato=/usr/local/nzbget/var/nzbToCouchPotato.py
# before CouchPotato's Renamer is called # before CouchPotato's Renamer is called
MoviesDownloadDir= 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 ### ### OPTIONS ###
@ -70,6 +81,12 @@ CouchPotato=yes
# Category for Couchpotato's postprocessing. # Category for Couchpotato's postprocessing.
CouchPotatoCategory=movies CouchPotatoCategory=movies
# Perform Custom postprocessing (yes, no).
Custom=yes
# Category for Custom postprocessing (eg. movies)
CustomCategory=music
# Clean up list array. space seperated, in brackets, default *.nzb *.sfv *.1 # Clean up list array. space seperated, in brackets, default *.nzb *.sfv *.1
FileCleanUp=(*.nzb *.sfv *.1) FileCleanUp=(*.nzb *.sfv *.1)
@ -105,7 +122,7 @@ DestDir=
# This section defines parameters, which can be set to allow notifications to # This section defines parameters, which can be set to allow notifications to
# be sent via email. # be sent via email.
# This uses sendEmail as authoried by Brandon Zehm <caspian@dotconf.net> # This uses sendEmail as authored by Brandon Zehm <caspian@dotconf.net>
#Specify if you want emails to be sent for successful downloads. #Specify if you want emails to be sent for successful downloads.
Email_successful=yes Email_successful=yes
@ -131,3 +148,14 @@ Email_User=
# Enter your smtp server password (if required) # Enter your smtp server password (if required)
Email_Pass= Email_Pass=
# Enter your email subject in quotes.
# 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 <name> has <status>"
# Enter your email message in quotes.
# Use the same substitutes as described above.
# Use /n for new line.
Email_Message="The download of <name> has <status> /n This has been processed by the script <script> for category <cat>"