<info> in multiimage no longer works

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #1
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?

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #2
Can you post the complete XML for that control? And yes, it'll be due to my changes.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #3
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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #4
while i have your attention, how about a <pauseatstart>

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #5
r17829 should take care of this I think?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #6
works.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #7
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #8
Not sure what you're referring to with "devuselevel"

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #9
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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #10
Gotcha - forgot all about that feature Wink

Will look into it.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #11
This one should be taken care of in r17939.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote