Kodi Community Forum

Full Version: <info> in multiimage no longer works
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've used both:

<info>Skin.String(TWC-MapsPath)</info>

and

<imagepath>$INFO[Skin.String(TWC-MapsPath)]</imagepath>

they both use to work, now only #2 works. is this a permanent change or a slip up on the latest change to guitexture?
Can you post the complete XML for that control? And yes, it'll be due to my changes.

Cheers,
Jonathan
Code:
<!-- Maps multiimage ** Required ** -->
                <control type="multiimage">
                    <description>maps multiimage</description>
                    <posx>235</posx>
                    <posy>0</posy>
                    <width>360</width>
                    <height>243</height>
                    <imagepath>$INFO[Skin.String(TWC-MapsPath)]</imagepath>
                    <timeperimage>500</timeperimage>
                    <pauseatend>1000</pauseatend>
                    <fadetime>0</fadetime>
                    <randomize>false</randomize>
                    <loop>yes</loop>
                    <aspectratio>keep</aspectratio>
                    <!-- animation is used for zooming map -->
                    <animation effect="zoom" reversible="true" center="542,135" start="100" end="195" time="100" condition="!IsEmpty(Window.Property(Toggle))">Conditional</animation>
                </control>
here's the working version. change <imagepath> for <info> for non working
while i have your attention, how about a <pauseatstart>
r17829 should take care of this I think?
works.
using a skin.string() for devuselevel, use to be instant when changing levels. now it only updates when the image changes.

is this how it will work in the future?

the TWC supplemental script can be used to test this. under settings. though you need some weather or location images.
Not sure what you're referring to with "devuselevel"
the user can set the skin.string to one of the following in the script. it use to be immediate:
PHP Code:
levels = [ "00FFFFFF""30FFFFFF""60FFFFFF""90FFFFFF""BBFFFFFF""DDFFFFFF""FFFFFFFF" 
for:
PHP Code:
<colordiffuse>$INFO[Skin.String(twc-fanart-diffusecolor)]</colordiffuse

full control block:
PHP Code:
<!-- Fanart multiimage -->
            <
control type="multiimage">
                <
description>fanart weather conditions</description>
                <
posx>50</posx>
                <
posy>50</posy>
                <
width>630</width>
                <
height>445</height>
                <
imagepath diffuse="twc-fanart-diffuse.png">$INFO[Skin.String(twc-fanart-path)]$INFO[Weather.FanartCode]</imagepath>
                <
timeperimage>5000</timeperimage>
                <
pauseatend>0</pauseatend>
                <
fadetime>1000</fadetime>
                <
randomize>true</randomize>
                <
colordiffuse>$INFO[Skin.String(twc-fanart-diffusecolor)]</colordiffuse>
                <
loop>yes</loop>
                <
aspectratio>stretch</aspectratio>
                <
visible>Skin.HasSetting(twc-fanart-type)</visible>
            </
control
Gotcha - forgot all about that feature Wink

Will look into it.
This one should be taken care of in r17939.

Cheers,
Jonathan