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
|
<?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%">
<!-- 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">
</viewelement>
<!-- Available Variables message:
{displaymessage} bool: message displayed?
{message} string: message to display
-->
<viewelement name="message">
</viewelement>
<!-- Tokens available in background
{viewmode} int: enum Cover = 0, List = 1, Detail = 2
{selecteditembackground} image
{isdirectory}
{currentdirectorybackground} image
-->
<viewelement name="background">
</viewelement>
<!-- Tokens available in header and infopane
Same as in browser
{tabname} Name of active Tab
-->
<viewelement name="header">
</viewelement>
<viewelement name="infopane">
</viewelement>
<!-- Tokens available for scrollbar
{height} height of the position marker of the scrollbar in percent
{offset} offset for the position marker from the top of the scrollbar in percent
-->
<viewelement name="scrollbar">
<!-- example:
<area x="66%" y="15%" width="9%" height="75%" layer="4">
<drawrectangle x="0" y="2" width="{areawidth}-2" height="{areaheight}" color="{clrRed}" />
<drawrectangle x="0" y="{areaheight} / 100 * {offset}" width="{areawidth}" height="{areaheight} / 100 * {height}" color="{clrGreen}" />
</area>
-->
</viewelement>
<!-- Tokens available in browser
{totalcount} int: total number of grid elements
{position} int: absolute position of grid element
{viewmode} int: enum Cover = 0, List = 1, Detail = 2
{current} bool, currently active element
{title} string, Name of the element
{viewgroup} int: {UNDEF = 0, MOVIE = 1, SHOW = 2, SEASON = 3, EPISODE = 4, MUSIC, PHOTO};
A dummy actually only marks a "level up"
{isdummy} bool
If the item is a server: {isserver}
{isserver} bool
{serverstartpointname} string
{serverip} string
{serverport} int
{serverversion} string
Following tokens are avaliable if the item is a directory or video
{year} Year of production
{hasthumb} bool
{thumb} string, Image/Cover
{hasart} bool
{art} string, Fanart
If the Item is Directory following tokens are avaliable
The item is a directory if one of the following tokens are set: {isdirectory}, {isshow}, {isseason}
{isdirectory} Condition
{isshow} Condition, Show/Series
{summary} Description, plot, summary
{leafCount} Total leafs, episodes
{viewedLeafCount} viewed Leafs, episodes
{childCount} total childs, seasons
{rating} int, starrating 0.0 - 10.0 multiplied by 10 -> 0 - 100
{ratingstring} string, rating formated as double %.1f
{studio} Studio
{roles[actor]} looptoken
{genres[genre]} looptoken
{isseason} Condition
{summary} Description, plot, summary
{seriestitle} Seriestitle
{leafCount} Total leafs, episodes
{viewedLeafCount} viewed Leafs, episodes
If the item is a video following tokens are avaliable
The item is a video if one of the following tokens are set: {ismovie}, {isepisode}
{contentrating} string, FSK, PEGI -> eg. de/16
{rating} int, starrating 0.0 - 10.0 multiplied by 10 -> 0 - 100
{ratingstring} string, rating formated as double %.1f
{viewoffset} int, minutes, last viewed position
{viewoffsetpercent} last viewed position as percent value 0 - 100
{duration} int, minutes, total duration
{orginaltitle} original title
{summary} Description, plot, summary
{studio} Studio
{viewCount} Unseen if less than 1
{originallyAvailableYear} Year of release/first aired
{originallyAvailableMonth} Month of release/first aired
{originallyAvailableDay} Day of release/first aired
{roles[actor]} looptoken
{genres[genre]} looptoken
{videoResolution} string (sd, 720, 1080)
{bitrate} int
{width} int
{height} int
{audioChannels} int
{aspectRatio} string (1.33, 1.78, 1.85, 2.35)
{audioCodec} string (aac, mp3, mp2, ac3, dca) hint: dca==DTS
{videoCodec} string (mpeg4, msmpeg4, h264)
{container} string (avi, mp4, mkv)
{videoFrameRate} string (PAL, NTSC, 24p)
{ismovie}
{isepisode}
{seriestitle} Title of the series/show
{season} int, Season
{episode} int, Episode, season based
{hasbanner} bool, Bannerstyle
{banner} Image path
{hasseriesthumb} bool, seriesthumb (seasoncover, seriescover)
{seriesthumb} Image path
-->
<grid name="coverbrowser">
</grid>
<grid name="detailbrowser">
</grid>
<grid name="listbrowser">
</grid>
<!-- 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">
</viewelement>
</displayplugin>
|