#########################################################################
# This is a sample template for email notifications about timer changes
# (NOTE: This is a sample for a HTML mail, but you could use only text
# as well)
#
# There are 3 sections that have to be defined:
#  - "subject" to be used as mail subject
#  - "mailbody" the body of the mail:
#    put %update.newtimers% in the place where the list of new timers should
#    appear. The same for %update.modtimers%, %update.deltimers% and
#    %update.newevents& for the list of changed or deleted timers and event
#    announcements.
#  - "timer" the description of one timer and "event" with the description of
#    one event. This section is used to display one timer within a timer list,
#    e.g. in %update.newtimers%. The same for "event".
#
# All sections are optional, e.g. if you don't use event announcements you
# can drop "%update.newevents%" in the mailbody and the "event" section. But
# of course you should have at least a mailbody ;-)
#
# close each section with the correspondig end tag!
# Please have a look at the MANUAL for the available variables.
#########################################################################
#
# Version: 0.4    Date: 20.09.2009
#
#  Author: Mike Constabel      <vejoun @ vdrportal>
#          Christian Wieninger <winni  @ vdrportal>
#
#########################################################################

#########################################################################
# here's the mail's subject definition (no CR!)
#########################################################################
<subject>[epgsearch] update info: %update.countnewtimers% new / %update.countmodtimers% modified / %update.countdeltimers% deleted timers / %update.countnewevents% new events /</subject>

#########################################################################
# here's the mail's body definition
#########################################################################
<mailbody>

Information about search timer update

 Information about search timer update
 update at: %datenow% %timenow%
 new timers: %update.countnewtimers%
 modified timers: %update.countmodtimers%
 deleted timers: %update.countdeltimers%
 new events to report: %update.countnewevents%

 Top New timers
 %update.newtimers%

 Top Modified timers
 %update.modtimers%

 Top Deleted timers
 %update.deltimers%

 Top New events to report
 %update.newevents%

Have fun!

</mailbody>

##############################################################################
# here's the timer definition, which is used to display information about
# a timer within one of the timer lists. You can use any variables that refer
# to an event or timer. (Please note, that a timer may have no event assigned
# to it, resulting in an empty variable substitution!). You can also use 'user
# defined' variables from epgsearchuservars.conf.
##############################################################################
<timer>

 Title:     
%title% (http://localhost:8008/edit_timer.html?timerid=%timer.liveid%)
    
IMDb (http://akas.imdb.com/Tsearch?title=%title%)

 Subtitle: %subtitle%
 Start/End: %time_w% %date% %time%-%timeend% (Timer: %timer.start%-%timer.stop%)
 Channel: %timer.chlng% (%timer.chnr%)
 File: %timer.file%
 Search: %timer.search% (%timer.searchid%)
 Modification: %timer.modreason%
 Summary: %htmlsummary%

</timer>

##############################################################################
# here's the event definition, which is used to display information about
# an event in the announcement list. You can use any variables that refer
# to an event. You can also use 'user defined' variables from
# epgsearchuservars.conf.
##############################################################################
<event>

 Title:     
%title% (http://localhost:8008/edit_timer.html?epgid=%liveeventid%)
    
IMDb (http://akas.imdb.com/Tsearch?title=%title%)

 Subtitle: %subtitle%
 Start/End: %time_w% %date% %time%-%timeend%
 Channel: %chlng% (%chnr%)
 Search: %search% (%searchid%)
 Summary: %htmlsummary%

</event>
