Weather provider icon problem.
#1
Bug 
I guess this would mainly be aimed at Ronie, but if anyone else has some input feel free.

The new weather provider icon listed in the New Gotham features thread works great, BUT! If you change from a weather addon that provides the windows property to one that does not, the old property is not overridden and so will continue to show even though it should be blank (and the new weather provider label should then show). The code that I am using is thus:-

PHP Code:
            <control type="group">
                <
control type="image">
                    <
description>weather provider logo shadow</description>
                    <
posx>18</posx>
                    <
posy>63</posy>
                    <
width>180</width>
                    <
height>45</height>
                    <
colordiffuse>StudioShadow</colordiffuse>
                    <
aspectratio align="center" aligny="center">keep</aspectratio>
                    <
texture>$INFO[Window(Weather).Property(WeatherProviderLogo)]</texture>
                </
control>
                <
control type="image">
                    <
description>weather provider logo</description>
                    <
posx>17</posx>
                    <
posy>62</posy>
                    <
width>180</width>
                    <
height>45</height>
                    <
colordiffuse>StudioDiffuse</colordiffuse>
                    <
aspectratio align="center" aligny="center">keep</aspectratio>
                    <
texture>$INFO[Window(Weather).Property(WeatherProviderLogo)]</texture>
                </
control>
            </
control>
            <
control type="label">
                <
description>weather provider label</description>
                <
posx>17</posx>
                <
posy>64</posy>
                <
width>636</width>
                <
height>20</height>
                <
font>font11</font>
                <
align>left</align>
                <
aligny>center</aligny>
                <
label>$INFO[Window(Weather).Property(WeatherProvider),$LOCALIZE[31536] - ]</label>
                <
visible>IsEmpty(Window(Weather).Property(WeatherProviderLogo))</visible>
            </
control

Does anyone have a work around for this, or should we just point and laugh at Ronie and then flag this as a bug Wink

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#2
we could set WeatherProviderLogo property to "" on closing the provider add-on, that way your label will kick in. alternatively we have to enforce logo usage.
Reply
#3
property should be cleared in core when switch provider
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
Or that Smile
Reply
#5
Thanks guys,

was pretty sure after I figured out what was causing the issue that it would probably require someone looking at it from your side. So do you want me to post a bug report on Trac, or is what I posted here enough? I have to say it really is a very minor bug as it is only an issue if you change between providers. That said, there are users on this forum whom seem like they change skins on every other key press ;-) .

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#6
(2013-10-17, 17:34)wyrm Wrote: Thanks guys,

was pretty sure after I figured out what was causing the issue that it would probably require someone looking at it from your side. So do you want me to post a bug report on Trac, or is what I posted here enough? I have to say it really is a very minor bug as it is only an issue if you change between providers. That said, there are users on this forum whom seem like they change skins on every other key press ;-) .

Wyrm (xTV-SAF)

Please report on trac yes and CC ronie
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#7
OK, trac ticket here

Wyrm (xTV-SAF)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply

Logout Mark Read Team Forum Stats Members Help
Weather provider icon problem.0