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.
email templates - is there a PATH variable?
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
email templates - is there a PATH variable?
Last edited by rethier on June 13th, 2010, 7:53 am, edited 1 time in total.
Re: email templates - is there a PATH variable?
The template doesn't get a path variable.

