2018-04-24, 18:24
Hello !
I create a skin on xbmc. I want he user can change the autoscroll speed of the home window.
So i added a Skin.SetNumeric() to customsettings.xml it seems to work (the value appear on the setting.xml file) and i can read this value on <info> tag using Skin.String(myvalue).
I tried also on include.xml : <constant name="myvalue">Skin.String(myvalue)</constant>
but :
<autoscroll time=$INFO[Skin.String(myvalue)]>true</autoscroll>
or
<autoscroll time=myvalue]>true</autoscroll>
doesn't work.
Did you know where the problem is ?
Thank you !
------ EDIT -- it works ---
Here is the code
https://pastebin.com/9UUjH6dh
I create a skin on xbmc. I want he user can change the autoscroll speed of the home window.
So i added a Skin.SetNumeric() to customsettings.xml it seems to work (the value appear on the setting.xml file) and i can read this value on <info> tag using Skin.String(myvalue).
I tried also on include.xml : <constant name="myvalue">Skin.String(myvalue)</constant>
but :
<autoscroll time=$INFO[Skin.String(myvalue)]>true</autoscroll>
or
<autoscroll time=myvalue]>true</autoscroll>
doesn't work.
Did you know where the problem is ?
Thank you !
------ EDIT -- it works ---
Here is the code
https://pastebin.com/9UUjH6dh