summaryrefslogtreecommitdiff
path: root/templates/plug-tvguideng-root.xml
blob: d87176aa515215432a2bc441829f9c4544e69afd (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displayplugin SYSTEM "../../../dtd/displayplugin.dtd">

<displayplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="0" scaletvy="0" scaletvwidth="100%" scaletvheight="100%">

    <viewelement name="background_hor">
    </viewelement>

    <viewelement name="background_ver">
    </viewelement>

    <!-- Tokens available in Header
    {isdummy}                 true if active element is a dummy element
    {title}                   title of event of active grid
    {shorttext}               shorttext of event of active grid
    {description}             detailed description of event of active grid
    {start}                   event start time in hh::mm
    {stop}                    event stop time
    {day}                     day of event of active grid
    {date}                    date of  event  of active grid in dd.mm.yy
    {daynumeric}              day as number
    {month}                   month as number
    {year}                    year as number
    {running}                 true if event is currently running
    {elapsed}                 elapsed time of event, if not running 0
    {duration}                duration of event
    {durationhours}           duration, full hours
    {durationminutes}         duration, rest of minutes
    {channelname}             Channel Name
    {channelnumber}           Channel Number
    {channelid}               ChannelID as path to display channel logo
    {channellogoexists}       true if channel logo exists
    {hasposter}               true if a scraped poster is available for this element
    {posterwidth}             width of scraped poster
    {posterheight}            height of scraped poster
    {posterpath}              absolute path of scraped poster
    -->
    <viewelement name="header_hor">
    </viewelement>

    <viewelement name="header_ver">
    </viewelement>
    <!-- Available Variables Footer:
    {red1}                    true if red button is button 1
    {red2}                    true if red button is button 2
    {red3}                    true if red button is button 3
    {red4}                    true if red button is button 4
    {green1}                  true if green button is button 1
    {green2}                  true if green button is button 2
    {green3}                  true if green button is button 3
    {green4}                  true if green button is button 4
    {yellow1}                 true if yellow button is button 1
    {yellow2}                 true if yellow button is button 2
    {yellow3}                 true if yellow button is button 3
    {yellow4}                 true if yellow button is button 4
    {blue1}                   true if blue button is button 1
    {blue2}                   true if blue button is button 2
    {blue3}                   true if blue button is button 3
    {blue4}                   true if blue button is button 4
    {red}                     label of red button
    {green}                   label of green button
    {yellow}                  label of yellow button
    {blue}                    label of blue button
    -->
    <viewelement name="footer_hor">
    </viewelement>

    <viewelement name="footer_ver">
    </viewelement>
    <!-- Available Variables time:
    {time}                   timestring in hh:mm
    {sec}                    current seconds
    {min}                    current minutes
    {hour}                   current hours
    {hmins}                  current "hourminutes" to display an hour hand
    {day}                    day in digits
    {dayleadingzero}         day in digits with leading 0
    {dayname}                Full name of the day
    {daynameshort}           Short 3 char name of the day
    {month}                  month in digits with leading 0
    {monthname}              Full name of the month
    {monthnameshort}         3 letter abbrivation of month name
    {year}                   year in yyyy
    -->
    <viewelement name="time_hor">
    </viewelement>

    <viewelement name="time_ver">
    </viewelement>
    <!-- Tokens available in datetimeline
    {weekday}                weekday of current display
    {date}                   date of current display
    -->
    <viewelement name="datetimeline_hor">
    </viewelement>

    <viewelement name="datetimeline_ver">
    </viewelement>

    <!-- Tokens available in timeindicator
    {percenttotal}            position of current time indicator in tenth of a percent of complete time shown
    -->
    <viewelement name="timeindicator_hor">
    </viewelement>

    <viewelement name="timeindicator_ver">
    </viewelement>

    <!-- Tokens available in timeline
    {timestring}             time of grid in hh:mm
    -->
    <grid name="timeline_hor" x="0" y="0" width="100%" height="100%">
    </grid>

    <grid name="timeline_ver" x="0" y="0" width="100%" height="100%">
    </grid>

    <!-- Tokens available in channels
    {name}                   name of channel
    {number}                 number of channel
    {channelid}              id of channel to display channel logo
    {channellogoexists}       true if channel logo exists
    -->
    <grid name="channels_hor" x="0" y="0" width="100%" height="100%">
    </grid>

    <grid name="channels_ver" x="0" y="0" width="100%" height="100%">
    </grid>

    <!-- Tokens available in channelgroups
    {color}                  alternates grid by grid from true to false
    {group}                  name of channel group
    -->
    <grid name="channelgroups_hor" x="0" y="0" width="100%" height="100%">
    </grid>

    <grid name="channelgroups_ver" x="0" y="0" width="100%" height="100%">
    </grid>

    <!-- Tokens available in schedules
    {color}                  alternates grid by grid from true to false
    {dummy}                  true if grid is a dummy grid
    {timer}                  true if a timer is set for the according event
    {switchtimer}            true if a switchtimer is set for the according event
    {title}                  title of grid 
    {shorttext}              shorttext of grid 
    {start}                  start time in hh:mm
    {stop}                   stop time in hh:dd
    -->
    <grid name="schedules_hor" x="0" y="0" width="100%" height="100%">
    </grid>

    <grid name="schedules_ver" x="0" y="0" width="100%" height="100%">
    </grid>

    <!-- Tokens available in channeljump
    {channel}                current user input for channel jump
    -->
    <viewelement name="channeljump">
    </viewelement>

</displayplugin>