email templates - is there a PATH variable?
Posted: June 12th, 2010, 11:46 pm
Trying to include the PATH to the email template
Running on 0.5.2 on XP.
I've started with the original email template 'email-us-en', I added the CATEGORY variable and want to include PATH below that.
Any ideas?
Here is the template:
##
## Default Email template for SABnzbd
## This a Cheetah template
## Documentation: http://sabnzbd.wikidot.com/email-templates
##
## Newlines and whitespace are significant!
##
## These are the email headers
to: $to
from: $from
date: $date
subject: SABnzbd has job $name
X-priority: 5
X-MS-priority: 5
## After this comes the body, the empty line is required!
Hi,
SABnzbd has downloaded "$name"
SABnzbd has failed to download "$name"
Finished at $end_time
Downloaded $size
Category $cat
##
##Here is where I want to insert the PATH
##
Results of the job:
Stage $stage
$result
Output from user script "$script" (Exit code = $script_ret):
$script_output
Enjoy!
Sorry!
If you expand the download history you can see the following details:
+_+_+_+
Download:
Repair:
Unpack:
Script:
Category:
Path:
+_+_+_+
So I figure there must be an easy way.
Running on 0.5.2 on XP.
I've started with the original email template 'email-us-en', I added the CATEGORY variable and want to include PATH below that.
Any ideas?
Here is the template:
##
## Default Email template for SABnzbd
## This a Cheetah template
## Documentation: http://sabnzbd.wikidot.com/email-templates
##
## Newlines and whitespace are significant!
##
## These are the email headers
to: $to
from: $from
date: $date
subject: SABnzbd has job $name
X-priority: 5
X-MS-priority: 5
## After this comes the body, the empty line is required!
Hi,
SABnzbd has downloaded "$name"
SABnzbd has failed to download "$name"
Finished at $end_time
Downloaded $size
Category $cat
##
##Here is where I want to insert the PATH
##
Results of the job:
Stage $stage
$result
Output from user script "$script" (Exit code = $script_ret):
$script_output
Enjoy!
Sorry!
If you expand the download history you can see the following details:
+_+_+_+
Download:
Repair:
Unpack:
Script:
Category:
Path:
+_+_+_+
So I figure there must be an easy way.