Kodi Community Forum

Full Version: Smiley Animated weather icons for the home screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

following a set of 64x64 Weather Icons, I use on my Mobile phone.
The set Is called Weather Smileys, for a preview see here : http://www.grsnet.net/xbmc/anim_weather/

Following the Link to the PNG file based Conditional Weather Icon Package:
http://www.grsnet.net/xbmc/anim_weather/...s PNGs.zip

and the Link to the MNG file based Conditional Weather Icon Package:
http://www.grsnet.net/xbmc/anim_weather/...s MNGs.zip

I am no sure but I think XBMC doesn't support the Animation in MNG files yet or Huh, anyone know more about that ? Because the MNG format would be the preferable animation format (rather that using a multiimage PNG) because in the MNG files are embeeded the correct Frame Timings.

At the moment I use the PNG file Multiimage method, (cause I didn't manage to get the MNG's to work), I use the "Home Animated Weather Icon Mod" with the following settings in the home.xml:

<!-- Animated Weather Image Mod -->
<control type="multiimage">
<description>Weather image</description>
<posx>150r</posx>
<posy>10</posy>
<width>110</width>
<height>110</height>
<!-- <imagepath>C:\Program Files\XBMC\Backgrounds\WeatherAnimIcons_or_xbmc\$INFO[Weather.FanartCode]</imagepath> -->
<imagepath>C:\Program Files\XBMC\Backgrounds\WeatherAnimIcons_junis_Smileys\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>140</timeperimage>
<!-- or 200 -->
<randomize>false</randomize>
<fadetime>2</fadetime>
</control>

<!-- Original Static Image
<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>
-->

Using the above settings for timeperimage and fadetime, the results look very good, but the timming is not the same as with the MNG Files.

If anyone knows how to implement the above MOD using the MNG animation Files, it would be great because with the correct Frame Timings, the Animation looks much better !!!

I Tested the Above in SVN 21238

Cheers,
Konstantin