Kodi Community Forum
Home screen weather - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: Home screen weather (/showthread.php?tid=10753)



- BaRTiMuS - 2005-03-18

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>


- pike - 2005-03-18

sorry but this is not related to developing.

please respect our forum descriptions.


- BaRTiMuS - 2005-03-18

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>