summaryrefslogtreecommitdiff
path: root/skinskeleton/xmlfiles/displaychannel.xml
blob: 8bad9f750bfaf5cace3e8b2b7b32e968612058ab (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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displaychannel SYSTEM "../../../dtd/displaychannel.dtd">

<displaychannel x="0" y="0" width="100%" height="100%" fadetime="0">

    <background>
    </background>

    <!-- Available Variables channelinfo:
    {channelnumber}                 Number of Channel, with "-" in case of channel switching
    {channelname}                   Name of current Channel
    {channellogoexists}             true if a channel logo exists 
    {channelid}                     ChannelID as path to display channel logo
    {switching}                     true if a number is pressed on the remote to switch to a dedicated channel
    -->
    <channelinfo>
    </channelinfo>

    <!-- Available Variables epginfo:
    {currenttitle}                     Title of the current Schedule
    {currentsubtitle}                  Subtitle of the current Schedule
    {currentstart}                     Start of current Schedule in hh:mm
    {currentstop}                      End of current Schedule in hh:mm 
    {currentduration}                  Duration of current Schedule in min
    {currentdurationhours}             Duration, full hours
    {currentdurationminutes}           Duration, rest of minutes
    {currentelapsed}                   Elapsed time of current Schedule in min
    {currentremaining}                 Remaining time of current Schedule in min
    {currentrecording}                 true if current Schedule is recorded
    {hasVPS}                           true if current Schedule has VPS
    {nexttitle}                        Title of next Schedule
    {nextsubtitle}                     Subtitle of next Schedule
    {nextstart}                        Start of next Schedule in hh:mm
    {nextstop}                         Stop of next Schedule in hh:mm
    {nextduration}                     Duration of next Schedule in min
    {nextdurationhours}                Duration, full hours
    {nextdurationminutes}              Duration, rest of minutes
    {nextrecording}                    true if next Schedule will be recorded
    -->
    <epginfo>
    </epginfo>

    <!-- Available Variables progressbar:
    {start}                            Start of current Schedule in hh:mm
    {stop}                             End of current Schedule in hh:mm 
    {duration}                         Total Duration of current Schedule in seconds
    {elapsed}                          Elapsed time of current Schedule in seconds
    {remaining}                        Remaining time of current Schedule in seconds
    {permashift}                       true if permashift plugin is in use
    {livebuffer}                       current buffered data in seconds
    -->
    <progressbar>
    </progressbar>

    <!-- Available Variables statusinfo:
    {isRadio}                          true if channel is a radio channel
    {hasVT}                            true if channel has video text   
    {isStereo}                         true if a stereo audio trac is available
    {isDolby}                          true if a dolby audio track is available
    {isEncrypted}                      true if channel is encrypted
    {isRecording}                      true if currently a recording is running on this channel
    {newmails}                         true if mailbox plugin is installed and new mails are available
    -->
    <statusinfo>
    </statusinfo>

    <!-- Available Variables audioinfo:
    {numaudiotracks}                   number of available audio tracks for current channel
    {audiochannel}                     0 if current channel is stereo, 1 for left chanel only, 2 for right channel only
    {trackdesc}                        description of the current audio track
    {tracklang}                        language of the current audio track
    -->
    <audioinfo>
    </audioinfo>

    <!-- Available Variables ecminfo:
    {caid}                              id of currently used CA
    {cardsystem}                        name of currently used CA
    {pid}                               pID
    {prid}                              provider ID
    {ecmtime}                           ecm time in ms
    {hops}                              number of hops
    {reader}                            name of used reader
    {from}                              name of originating host
    {protocol}                          used protocol of reader
    -->
    <ecminfo>
    </ecminfo>

    <!-- Available Variables screenresolution:
    {screenwidth}                      width of currently displayed channel in px
    {screenheight}                     height of currently displayed channel in px
    {resolution}                       resolution: hd1080i, hd720p, sd576i, sd480i
    {aspect}                           screen aspect, each 4:3, 16:9 or 21:9
    {isHD}                             true for hd1080i and hd720p
    {isWideScreen}                     true if aspect is 16:9 or 21:9
    -->
    <screenresolution>
    </screenresolution>

    <!-- Available Variables channelgroup:
    {prevAvailable}                     true if previous Channel Group is avaialble
    {nextAvailable}                     true if next Channel Group is avaialble
    {group}                             Name of current Channel Group
    {nextgroup}                         Name of next Channel Group
    {prevgroup}                         Name of prev Channel Group
    {sepexists}                         true if a channel separator logo exists
    {seppath}                           path for separator logo to use in imagetype "seplogo"
    -->
    <channelgroup>
    </channelgroup>

    <!-- Available Variables signalquality:
    {signalstrength}                    STR value of currently displayed channel
    {signalquality}                     SNR value of currently displayed channel
    -->
    <signalquality>
    </signalquality>

    <!-- Available Variables devices:
    signalstrength and -quality are only set if not mode="light" is used in <devices>
    {numdevices}                number of available devices
    {devices[]}                 array with available devices
    {devices[num]}              number of current device
    {devices[type]}             type of device (DVB-S, DVB-C, ...)
    {devices[istuned]}          true if device is currently tuned to a transponder
    {devices[livetv]}           true if device is currently playing livetv
    {devices[recording]}        true if device is currently recording
    {devices[hascam]}           true if device has a CAM
    {devices[cam]}              number of CAM
    {devices[signalstrength]}   signalstrength of devcie
    {devices[signalquality]}    signalstrength of devcie
    {devices[channelnumber]}    number of the currently tuned channel
    {devices[channelname]}      name of the currently tuned channel
    {devices[channellogoexists]} true if a channel logo exists 
    {devices[channelid]}        ID of the currently tuned channel
    {devices[source]}           source of the currently tuned channel
    -->
    <devices mode="full|light">
    </devices>

    <!-- Available Variables currentweather:
    {timestamp}                 timestamp of forecast in dd.mm hh:mm
    {temperature}               current temperature in °C
    {apparenttemperature}       apparent (feeled) temperature
    {mintemperature}            minimum daily temperature in °C
    {maxtemperature}            maximum daily temperature in °C
    {summary}                   short weather summary
    {icon}                      weather icon 
    {precipitationintensity}    precipitation intensity in l/m2
    {precipitationprobability}  precipitation probability in %
    {precipitationtype}         precipitation type
    {humidity}                  humidity in %
    {windspeed}                 windspeed in km/h
    {windbearing}               wind bearing in °
    {windbearingstring}         wind bearing (N, NE, ...)
    {visibility}                visibility in km
    {cloudcover}                cloud cover in %
    {pressure}                  pressure in HPo
    {ozone}                     ozone value in DU
    -->
    <currentweather>
    </currentweather>

    <!-- Available Variables scrapercontent:
    {posterpath}                        Full Path of Poster to use in image path attribute
    {posterwidth}                       width of poster in pixel
    {posterheight}                      height of poster in pixel
    {hasposter}                         true if poster is available
    {bannerpath}                        Full Path of banner to use in image path attribute
    {bannerwidth}                       width of banner in pixel
    {bannerheight}                      height of banner in pixel
    {hasbanner}                         true if banner is available

    Use this tokens if you want to display a banner for series and a poster for movies:
    {mediapath}                         Full Path of Poster or Banner to use in image path attribute
    {mediawidth}                        width of image in pixel
    {mediaheight}                       height of image in pixel
    {isbanner}                          true if image is a banner, false if it is a poster
    -->
    <scrapercontent>
    </scrapercontent>

    <!-- Available Variables datetime:
    {time}                              time in hh:mm
    {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
    -->
    <datetime>
    </datetime>

    <!-- Available Variables time:
    {sec}                    current seconds
    {min}                    current minutes
    {hour}                   current hours
    {hmins}                  current "hourminutes" to display an hour hand
    -->
    <time>
    </time>

    <!-- Available Variables message:
    {text}                     message text
    {status}                   true if message is a status message
    {info}                     true if message is a info message
    {warning}                  true if message is a warn message
    {error}                    true if message is a error message
    -->
    <message>
    </message>

    <!-- Available Variables customtokens:
    all custom tokens set by the svdrp command SCTK are available in this viewelement
    For instance, use an appropriate script which runs periodically as cronjob and
    sets these custom tokens with svdrpsend or dbus2vdr
    --> 
    <customtokens>
    </customtokens>
    
</displaychannel>