Kodi Community Forum

Full Version: CE V2 Weather
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey butcha
i have tested a little bit with your weather setting because i missed the condition image in horizontal home.
i replaced your home.xml
PHP Code:
<!-- Weathertime etc  -->
    <
control type="group">
    <
visible>!Skin.HasSetting(homeNoClock)</visible>
    <
visible>!Skin.HasSetting(originalcirrusclock)</visible>
    <
posx>0</posx>
    <
posy>20</posy>
    <
width>1280</width>
    <
align>center</align>
    <
control type="label">
      <
description>time label</description>
      <
posx>0</posx>
      <
posy>0</posy>
      <
width>1280</width>
      <
height>28</height>
      <
align>center</align>
      <
aligny>top</aligny>
      <
font>cirrus_30</font>
      <
textcolor>white</textcolor>
      <
shadowcolor>black</shadowcolor>
      <!-- <
label>$INFO[System.Time]  [COLOR=grey]$INFO[System.Date]  [/COLOR]$INFO[Weather.Temperature]</label> -->
      <
label>$INFO[Weather.Temperature]  $INFO[System.Time]  $INFO[System.Date(DDD),]  $INFO[System.Date(MMM DD)]</label>
    </
control>
      <!-- 
Changes End Butchabay MOD 1.2.0 -->
    </
control

with
PHP Code:
<!-- Weathertime etc  -->
<
control type="group">
<
visible>!Skin.HasSetting(homeNoClock)</visible>
    <
visible>!Skin.HasSetting(originalcirrusclock)</visible>
    <
posx>0</posx>
    <
posy>20</posy>
    <
width>1280</width>
    <
align>center</align>
    <
control type="label">
      <
description>time label</description>
      <
posx>0</posx>
      <
posy>0</posy>
      <
width>1280</width>
      <
height>28</height>
      <
align>center</align>
      <
aligny>top</aligny>
      <
font>cirrus_30</font>
      <
textcolor>white</textcolor>
      <
shadowcolor>black</shadowcolor>
      <
label>$INFO[System.Time]  $INFO[System.Date(DDD)],  $INFO[System.Date(d)]. $INFO[System.Date(MMM)] $INFO[System.Date(yyyy)]</label>
    </
control>
<!----------------------------->
<
control type="image">                
<
description>Weather image</description>
<
posx>0</posx>
<
posy>-5</posy>
<
width>650</width>
<
height>40</height>
<
aspectratio>keep</aspectratio>
<
texture>$INFO[Window(Weather).Property(Current.ConditionIcon)]</texture>
</
control>
<!------------------>
<
control type="label">
<
description>time label</description>
<
posx>50</posx>
<
posy>0</posy>
<
width>650</width>
<
height>28</height>
<
align>center</align>
<
aligny>top</aligny>
<
font>cirrus_30</font>
<
textcolor>white</textcolor>
<
shadowcolor>black</shadowcolor>
<
label>$INFO[Weather.Temperature]</label>
</
control

if you think that it is ok please change your code, or do I change it every update.
cheers

Image
I'm just going to check it first, thanx.