blob: ec017384d1b488e3dcd19d915daa337c941e9178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
#########################################################################
# This is a sample template for email notifications about timer changes
# and/or events announcements
# (NOTE: This is a sample for a text mail, but you could use HTML 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.
#########################################################################
#########################################################################
# 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
----------------------------------------------------------------------
update at: %datenow% %timenow%
new timers: %update.countnewtimers%
modified timers: %update.countmodtimers%
deleted timers: %update.countdeltimers%
new events: %update.countnewevents%
the following timers have been added:
----------------------------------------------------------------------
%update.newtimers%
the following timers have been modified:
----------------------------------------------------------------------
%update.modtimers%
the following timers have been deleted:
----------------------------------------------------------------------
%update.deltimers%
the following events where found:
----------------------------------------------------------------------
%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% ~ %subtitle%
Start/End: %time_w% %date% %time%-%timeend% (Timer: %timer.start%-%timer.stop%)
Channel: %timer.chlng% (%timer.chnr%)
File: %timer.file%
Modification: %timer.modreason%
Search: %timer.search% (%timer.searchid%)
Summary:
%summary%
----------------------------------------------------------------------
</timer>
##############################################################################
# here's the event definition, which is used to display information about
# an event within the list of event announcements. You can use any variables
# that refer to an event. You can also use 'user defined' variables from
# epgsearchuservars.conf.
##############################################################################
<event>
Title: %title% ~ %subtitle%
Start/End: %time_w% %date% %time%-%timeend%
Channel: %chlng% (%chnr%)
Search: %search% (%searchid%)
Summary:
%summary%
----------------------------------------------------------------------
</event>
|