2014-01-26, 17:31
So I was trying to set a value for a timeout fade.
works perfectly.
but when I try to make the time set-able, nothing I try works.
First I tried.
with
it sets it fine (as seen in the guisettings.xml), and can be displayed as a label in Settings.xml, but not as a label in Videotype_List.xml (weird).
so I tried
just in case, but nothing
so I then tried
doesn't work, displays random word when used as a label, in this case "Programs"
so I tried making a bunch of:
and then tested it in Videotype_List.xml as a label (<label>$VAR[value_OSDTimeoutTime]</label>), and it finally displayed a number (the correct number too), but when used as:
again it didn't work, so I tried this
and nothing again, just displays "Programs" as a label, and doesn't ever timeout.
So I guess I'm wondering is it just simply that you can't use a variable with System.IdleTime()? If so, the Wiki should be updated, it might save the next sucker some trouble. Is it supposed to work? Am I doing something wrong?
Code:
<animation type="Conditional" condition="System.IdleTime(10) + !Player.Caching" reversible="true">
but when I try to make the time set-able, nothing I try works.
First I tried.
Code:
<animation type="Conditional" condition="System.IdleTime($INFO[Skin.String(OSDTimeoutTime)]) + !Player.Caching" reversible="true">
Code:
<onclick>Skin.SetNumeric(OSDTimeoutTime)</onclick>
so I tried
Code:
<animation type="Conditional" condition="System.IdleTime(Skin.String(OSDTimeoutTime)) + !Player.Caching" reversible="true">
so I then tried
Code:
<animation type="Conditional" condition="System.IdleTime($LOCALIZE[Skin.String(OSDTimeoutTime)]) + !Player.Caching" reversible="true">
so I tried making a bunch of:
Code:
<variable name="value_OSDTimeoutTime">
<value condition="SubString(Skin.String(OSDTimeoutTime),60)">60</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),59)">59</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),58)">58</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),57)">57</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),56)">56</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),55)">55</value>
.......
<value condition="SubString(Skin.String(OSDTimeoutTime),8)">8</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),7)">7</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),6)">6</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),5)">5</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),4)">4</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),3)">3</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),2)">2</value>
<value condition="SubString(Skin.String(OSDTimeoutTime),1)">1</value>
<value>15</value>
</variable>
Code:
<animation type="Conditional" condition="System.IdleTime($VAR[value_OSDTimeoutTime]) + !Player.Caching" reversible="true">
Code:
<animation type="Conditional" condition="System.IdleTime($LOCALIZE[$VAR[value_OSDTimeoutTime]]) + !Player.Caching" reversible="true">
So I guess I'm wondering is it just simply that you can't use a variable with System.IdleTime()? If so, the Wiki should be updated, it might save the next sucker some trouble. Is it supposed to work? Am I doing something wrong?