Animated weather icons on the Home Screen
#1
At present I get the weather icon on my home screen as per this code:
Code:
<control type="image">        
                <description>Weather image</description>
                <posx>200</posx>
                <posy>20</posy>
                <width>60</width>
                <height>60</height>
                <aspectratio>keep</aspectratio>
                <texture>$INFO[Window(Weather).Property(Current.ConditionIcon)]</texture>
           </control>
and it works ok.
I wanted to add the animated icon feature that I have in the weather page so just copied directly from the Myweather.xml:
Code:
<control type="multiimage">
            <description>day icon</description>
            <posx>200</posx>
            <posy>120</posy>
            <height>50</height>
            <width>50</width>
            <imagepath>C:\Program Files (x86)\XBMC\addons\skin.confluence\backgrounds\Weather\$INFO[Window.Property(Day0.FanartCode)]</imagepath>
             <timeperimage>100</timeperimage>
                <randomize>false</randomize>
            <fadetime>0</fadetime>
                 </control>
and no image. I'm not sure what is wrong with the code. Am I missing something here?
Reply
#2
try with this:
<imagepath>special://skin/backgrounds/Weather/$INFO[Window(Weather).Property(Day0.FanartCode)]</imagepath>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
perfect! Smile noticed that Current.FanartCode works too. It seems that on the home page the angle of the divider is critical (/ instead of \). Thanks Ronie
Reply

Logout Mark Read Team Forum Stats Members Help
Animated weather icons on the Home Screen0