Kodi Community Forum

Full Version: Home screen weather
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey guys throw this into your "home.xml" and enjoy
local weather conditions will appear in bottom right of your screen. this is taylored to the pmii skin but if you change the co-ordinates and textcolor im sure you can put it in any of your xbmc skins.

<control>
<description>weather conditions</description>
<type>infoimage</type>
<id>1</id>
<posx>75</posx>
<posy>488</posy>
<width>45</width>
<height>49</height>
<info>weather.conditions</info>
</control>

<control>
<description>weather temperature</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>493</posy>
<info>weather.temperature</info>
<font>font10</font>
<textcolor>60ffffff</textcolor>
<align>left</align>
</control>

<control>
<description>weather location</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>510</posy>
<info>weather.location</info>
<font>font10</font>
<textcolor>60ffffff</textcolor>
<align>left</align>
</control>
sorry but this is not related to developing.

please respect our forum descriptions.
first post i meant bottom left.. i found that as much as i liked it there, album info overlapped it during playback when in home screen. so heres what you need for weather in the top left of screen.

<control>
<description>weather conditions</description>
<type>infoimage</type>
<id>1</id>
<posx>75</posx>
<posy>45</posy>
<width>45</width>
<height>49</height>
<info>weather.conditions</info>
</control>

<control>
<description>weather temperature</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>50</posy>
<info>weather.temperature</info>
<font>font10</font>
<textcolor>60ffffff</textcolor>
<align>left</align>
</control>

<control>
<description>weather location</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>67</posy>
<info>weather.location</info>
<font>font10</font>
<textcolor>60ffffff</textcolor>
<align>left</align>
</control>
looks good on there. thanks.