2014-07-09, 15:46
Well stop using variables with "special" characters
I'll get it fixed for the next build.
I'll get it fixed for the next build.
(2014-07-09, 15:46)Bumpaneer Wrote: Well stop using variables with "special" characters
I'll get it fixed for the next build.
(2014-07-09, 15:41)Jeroen Wrote: @Bumpaneer:Bumpaneer,
I am getting a lot of entries like this one:
Code:Undefined Variable: media - [ViewList.xml : Line 24]
The variable names in question have a ":" in them. Example:
PHP Code:<variable name="menu:Controls">
So it's sort of comparable to this one, I guess the ":" is seen as the end of the var's name.
But it's not a regression or anything, I did't use any variables with a ":" in them at the time of posting the linked post.
Unused Variable: Icon(-5)Poster - [Includes_Variables.xml : Line 253]
Unused Variable: Icon(-4)Poster - [Includes_Variables.xml : Line 257]
Unused Variable: Icon(-3)Poster - [Includes_Variables.xml : Line 261]
Unused Variable: Icon(-2)Poster - [Includes_Variables.xml : Line 265]
Unused Variable: Icon(-1)Poster - [Includes_Variables.xml : Line 269]
Unused Variable: Icon(0)Poster - [Includes_Variables.xml : Line 273]
Unused Variable: Icon(1)Poster - [Includes_Variables.xml : Line 277]
Unused Variable: Icon(2)Poster - [Includes_Variables.xml : Line 281]
Unused Variable: Icon(3)Poster - [Includes_Variables.xml : Line 285]
Unused Variable: Icon(4)Poster - [Includes_Variables.xml : Line 289]
Unused Variable: Icon(5)Poster - [Includes_Variables.xml : Line 293]
Undefined Variable: Icon - [View-VideoCoverflow.xml : Line 35]
Includes_HorzHome.xml: Invalid Value for //control[@type='label']/*: camera
Includes_Shelf.xml: Invalid Value for //control[@type='image']/*: camera
(2014-07-10, 15:07)wyrm Wrote: I would also like to jump in on this one, in my case I see
which going on the fact that it works just fine would suggest that it is valid XBMC xml.PHP Code:Unused Variable: Icon(-5)Poster - [Includes_Variables.xml : Line 253]
Unused Variable: Icon(-4)Poster - [Includes_Variables.xml : Line 257]
Unused Variable: Icon(-3)Poster - [Includes_Variables.xml : Line 261]
Unused Variable: Icon(-2)Poster - [Includes_Variables.xml : Line 265]
Unused Variable: Icon(-1)Poster - [Includes_Variables.xml : Line 269]
Unused Variable: Icon(0)Poster - [Includes_Variables.xml : Line 273]
Unused Variable: Icon(1)Poster - [Includes_Variables.xml : Line 277]
Unused Variable: Icon(2)Poster - [Includes_Variables.xml : Line 281]
Unused Variable: Icon(3)Poster - [Includes_Variables.xml : Line 285]
Unused Variable: Icon(4)Poster - [Includes_Variables.xml : Line 289]
Unused Variable: Icon(5)Poster - [Includes_Variables.xml : Line 293]
Undefined Variable: Icon - [View-VideoCoverflow.xml : Line 35]
(2014-07-10, 16:19)Bumpaneer Wrote:Bumpaneer,(2014-07-10, 15:07)wyrm Wrote: I would also like to jump in on this one, in my case I see
/snip
Can you post the variable definition so I can make sure I'm parsing it correctly?
I'll get the camera element added as acceptable for all controls in the next build as well.
Thanks guys
<variable name="Icon(0)Poster">
<value condition="!IsEmpty(ListItem(0).Art(poster))">$INFO[ListItem(0).Art(poster)]</value>
<value>$INFO[ListItem(0).Icon]</value>
</variable>
<include name="dialog_Radio">
<height>40</height>
<font>regular_20</font>
<textoffsetx>15</textoffsetx>
<textoffsety>5</textoffsety>
<radiowidth>48</radiowidth>
<radioheight>24</radioheight>
<textureradioonnofocus colordiffuse="Color4">dialogs/radio/on.png</textureradioonnofocus>
<textureradiooffnofocus colordiffuse="Color4">dialogs/radio/off.png</textureradiooffnofocus>
<textureradioonfocus colordiffuse="Color1">dialogs/radio/on.png</textureradioonfocus>
<textureradioofffocus colordiffuse="Color1">dialogs/radio/off.png</textureradioofffocus>
<texturefocus border="3">dialogs/select-fo.png</texturefocus>
<texturenofocus border="3">dialogs/select-nf.png</texturenofocus>
<textcolor>Color5</textcolor>
<focusedcolor>Color1</focusedcolor>
<disabledcolor>Disabled</disabledcolor>
<selectedcolor>Selected</selectedcolor>
</include>
<include name="dialog_Spin">
<textoffsety>-2</textoffsety>
<aligny>center</aligny>
<spinwidth>26</spinwidth>
<spinheight>26</spinheight>
<texturefocus border="3">dialogs/select-fo.png</texturefocus>
<texturenofocus border="3">dialogs/select-nf.png</texturenofocus>
<textureup colordiffuse="Color4">dialogs/spin/spin-up.png</textureup>
<texturedown colordiffuse="Color4">dialogs/spin/spin-down.png</texturedown>
<textureupfocus>dialogs/spin/spin-up.png</textureupfocus>
<texturedownfocus>dialogs/spin/spin-down.png</texturedownfocus>
</include>