email templates - is there a PATH variable?

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
rethier
Newbie
Newbie
Posts: 4
Joined: March 27th, 2010, 7:54 am

email templates - is there a PATH variable?

Post by rethier »

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.
Last edited by rethier on June 13th, 2010, 7:53 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: email templates - is there a PATH variable?

Post by shypike »

The template doesn't get a path variable.
Post Reply