Thread Rating:
  • 0 Vote(s) - 0 Average
[MOD] Animated weather icons in PM3.HD home screen
#1
Thumbs Up 
The idea behind this is to use a weather fanart control instead of the normal image.
Screenshot: (icon part) http://img46.imageshack.us/img46/1404/sc...ot000s.jpg

icon pack: http://www.box.net/shared/yjxhc6yraj

basically you have to change the image control to multiimage
Quote:<control type="multiimage">
<description>Weather image</description>
<posx>150r</posx>
<posy>10</posy>
<width>110</width>
<height>110</height>
<imagepath>e:\icon\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>100</timeperimage>
<!-- or 200 -->

<randomize>false</randomize>
<fadetime>0</fadetime>
</control>

This is how the original was:
Quote:<control type="image">
<description>Weather image</description>
<posx>150r</posx>
<posy>10</posy>
<width>110</width>
<height>110</height>
<texture>$INFO[Weather.Conditions]</texture>
</control>

file: home.xml. You need a svn build for this to work.
Reply
#2
Thanx, this adds a really nice touch to the Home screen.
I'm now also using them in the MyWeather screen.

Cheers!
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
Thanks, Works also great in MiniMeedia.Nod
Reply
#4
Thanks alot for this! Nice job.
Reply
#5
ronie Wrote:Thanx, this adds a really nice touch to the Home screen.
I'm now also using them in the MyWeather screen.

Cheers!

What code do you have to edit in MyWeather.xml for it to work Ronie?

I got it to work in Home.xml just fine.

Thanks, Jim
Reply
#6
find the 'current weather icon' and the 4 'day icons' in MyWeather.xml

replace the 'current weather icon' with this:
Code:
<control type="multiimage">
    <description>current weather icon</description>
    <posx>230</posx>
    <posy>60</posy>
    <width>180</width>
    <height>180</height>
    <imagepath>foldericons/weather/$INFO[Window.Property(Current.FanartCode)]</imagepath>
    <timeperimage>100</timeperimage>
    <randomize>false</randomize>
    <fadetime>0</fadetime>
</control>

replace the first 'day icon' with this:
Code:
<control type="multiimage">
    <description>day icon</description>
    <posx>370</posx>
    <posy>40</posy>
    <height>80</height>
    <width>80</width>
    <imagepath>foldericons/weather/$INFO[Window.Property(Day0.FanartCode)]</imagepath>
    <timeperimage>100</timeperimage>
    <randomize>false</randomize>
    <fadetime>0</fadetime>
</control>

do the same for the other 'day icons', using Day1.FanartCode , Day2.FanartCode , Day3.FanartCode and adjust their <posx> and <posy> values accordingly.
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
#7
ronie Wrote:find the 'current weather icon' and the 4 'day icons' in MyWeather.xml

replace the 'current weather icon' with this:
Code:
<control type="multiimage">
    <description>current weather icon</description>
    <posx>230</posx>
    <posy>60</posy>
    <width>180</width>
    <height>180</height>
    <imagepath>foldericons/weather/$INFO[Window.Property(Current.FanartCode)]</imagepath>
    <timeperimage>100</timeperimage>
    <randomize>false</randomize>
    <fadetime>0</fadetime>
</control>

replace the first 'day icon' with this:
Code:
<control type="multiimage">
    <description>day icon</description>
    <posx>370</posx>
    <posy>40</posy>
    <height>80</height>
    <width>80</width>
    <imagepath>foldericons/weather/$INFO[Window.Property(Day0.FanartCode)]</imagepath>
    <timeperimage>100</timeperimage>
    <randomize>false</randomize>
    <fadetime>0</fadetime>
</control>

do the same for the other 'day icons', using Day1.FanartCode , Day2.FanartCode , Day3.FanartCode and adjust their <posx> and <posy> values accordingly.


Thank You kind Sir!!!!
Reply



[MOD] Animated weather icons in PM3.HD home screen00