don't apply enigma2 margin for recordings if a custom offset is set (update sample...
[vuplus_dvbapp-plugin] / autotimer / etc / autotimer.xml
1 <?xml version="1.0" ?>
2 <!-- Sample -->
3
4 <!-- All timers are enclosed in this elements -->
5 <autotimer version="5">
6
7  <!--
8     Set default for new Autotimers. You can set everything as usual but
9     name/match/enabled is not supported to set a default for, so are the
10     counter properties left and lastActivation.
11     
12     Here the Dialog to add a new Autotimer will be prefilled with
13       - a timespan 16:30-23:15
14       - offset 5min before and 10min after event
15       - services restricted to those in (single bouquet) favourites
16  -->
17  <defaults from="16:30" to="23:15" offset="5,10">
18   <bouquet>1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) || (type == 134) FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet</bouquet> <!-- favourites (in single bouquet mode)-->
19  </defaults>
20
21  <!-- 
22     - Record all Events with "House" in its Title
23     - When aired between 20:15 and 23:00 on a weekday
24     - And add a margin of 5 minutes before and after the recording
25       (regardless of enigma2 defaults)
26  -->
27  <timer name="Record House" match="House" enabled="no" from="20:15" to="23:00" offset="5">
28   <!-- Record only on german station "RTL" -->
29   <serviceref>1:0:1:2EE3:441:1:C00000:0:0:0:</serviceref>
30   <!-- Go to standby after recording finished -->
31   <afterevent>standby</afterevent>
32   <!-- Record only on a weekday -->
33   <include where="dayofweek">weekday</include>
34   <!-- Don't record when description contains "Wiederholung" -->
35   <exclude where="description">Wiederholung</exclude>
36   <!-- Don't record when shortdescription contains "Season 1" -->
37   <exclude where="shortdescription">Season 1</exclude>
38  </timer>
39
40  <!--
41     - Record all Events with "ouse" in its Title
42     - No specific timespan
43     - Add 2 minutes before and 3 after event to recording
44  -->
45  <timer name="Containing ouse" match="ouse" enabled="no" offset="2,3">
46   <!-- Record on german station "Pro Sieben" and austrian station "ORF 1" -->
47   <serviceref>1:0:1:445D:453:1:C00000:0:0:0:</serviceref>
48   <serviceref>1:0:1:32C9:45D:1:C00000:0:0:0:</serviceref>
49   <!-- No specific afterEvent, use whatever enigma2 would use -->
50   <!-- Don't record when title contains "Dr." -->
51   <exclude where="title">Dr.</exclude>
52  </timer>
53
54  <!--
55     - Record all Events with "Malcolm" in its Title
56     - When their extended description matches a rather weird regular expression
57       (must contain upper case L and end with "al" - any better example?)
58     - Save recordings into /media/net/Malcolm
59  -->
60  <timer name="Events with Malcolm" match="Malcolm" location="/media/net/Malcolm/" enabled="no">
61   <!-- Don't limit stations to record on -->
62   <!-- If the recording ends between 23:00 and 06:00 shutdown afterwards -->
63   <afterevent from="23:00" to="06:00">shutdown</afterevent>
64   <!-- Make use of a regular expression to include only specific events -->
65   <include where="extended">L(.*?)al$</include>
66   <!-- Don't record on Wednesday -->
67   <exclude where="dayofweek">2</exclude>
68   <!-- Don't record on Weekends -->
69   <exclude where="dayofweek">weekend</exclude>
70  </timer>
71
72 </autotimer>
73