[MOD] BasicHome Weather Summary (1 Viewer)

m3rcury

Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Hi all,

    Anyone interested in a MOD for the Weather Summary in BasicHome? It will look something like this:

    basichome_weather.jpg


    12-08-54.jpg


    12-09-11.jpg


    My only concern for the time being is the fact that BasicHome itself needs amending and this is changed back to its original content when someone does a save from the Editor, but will see to that at a later stage, unless the StreamedMP developers will take it on board and include it as part of the core package.....

    Images specifically for this MOD found here or as a RAR from here. Other weather background images can be found in my other PICASA albums.

    Regards
     
    Last edited:

    legnod

    MP Donator
  • Premium Supporter
  • September 24, 2011
    1,115
    323
    Stuttgart
    Home Country
    Germany Germany
    Hi,

    looks nice...i specially like the clock/weather summary in the top left corner.
    I am definitely interested in this mod! +1
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    It looks great!
    I had something similar in mind. -> https://forum.team-mediaportal.com/...-v1-2-0-or-higher.102775/page-116#post-880120
    View attachment 110302

    Where did you get those weather images from? They look really, really good! Did you make them yourself?
    Thanks!

    Holzi, thanks. Yes, I did the images myself. Images grabbed from various places on internet and did some modification to the way the weather details (words and figures) display....

    Will find some time to upload the images, most probably in Picasa as although they are small 340x400, they still total 10Mb as there are 48 of them :). Will also upload the modified xmls with some suggestions to how to make basichome.xml more easy to MOD without losing the changes when you update from editor.

    Thanks[DOUBLEPOST=1346525285][/DOUBLEPOST]
    Hi,

    looks nice...i specially like the clock/weather summary in the top left corner.
    I am definitely interested in this mod! +1

    legnod, thanks. The idea for the clock/weather summary was taken from the new skin Xtreme, but did some tweaking to it to adapt and incorporate into StreamedMP. This will be part of my next MOD release ;) .

    Regards
     
    Last edited:

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    I am attaching MODed xml files for the above effect in the weather summary in BasicHome.

    • In BasicHome.xml, look for <!--m3rcury - Weather Summary MOD --> (as there are various other MODs in this xml).
    • You then need to comment out quite a large chunk of the code so that we remove all the default weather summary from BasicHome.xml and include the new basichome.weather.summary.xml instead. For ease of reference, have reproduced the code below.
    Code:
        <!--m3rcury - Weather Summary MOD -->
        <!--control>
          <description>5-Day Weather Dummy Label</description>
          <type>label</type>
          <id>6767</id>
          <posX>-50</posX>
          <posY>-50</posY>
          <label>
          </label>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
        </control>
        <control>
          <description>GROUP: Forecast BGs</description>
          <type>group</type>
          <dimColor>0xffffffff</dimColor>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="20" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
          <control>
            <description>TODAY BG</description>
            <posX>460</posX>
            <posY>225</posY>
            <type>image</type>
            <id>6777</id>
            <width>180</width>
            <height>270</height>
            <texture>weather2.png</texture>
            <shouldCache>true</shouldCache>
          </control>
          <control>
            <description>DAY 1 BG</description>
            <posX>705</posX>
            <posY>70</posY>
            <type>image</type>
            <id>6777</id>
            <width>180</width>
            <height>270</height>
            <texture>weather2.png</texture>
          </control>
          <control>
            <description>DAY 2 BG</description>
            <posX>955</posX>
            <posY>70</posY>
            <type>image</type>
            <id>6777</id>
            <width>180</width>
            <height>270</height>
            <texture>weather2.png</texture>
          </control>
          <control>
            <description>DAY 3 BG</description>
            <posX>705</posX>
            <posY>415</posY>
            <type>image</type>
            <id>6777</id>
            <width>180</width>
            <height>270</height>
            <texture>weather2.png</texture>
          </control>
          <control>
            <description>DAY 4 BG</description>
            <posX>955</posX>
            <posY>415</posY>
            <type>image</type>
            <id>6777</id>
            <width>180</width>
            <height>270</height>
            <texture>weather2.png</texture>
          </control>
        </control>
        <control>
          <description>TODAY ICON</description>
          <id>0</id>
          <type>image</type>
          <texture>#WorldWeather.TodayIconImage</texture>
          <posX>460</posX>
          <posY>155</posY>
          <height>180</height>
          <width>180</width>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
        </control>
        <control>
          <description>DAY 1 ICON</description>
          <id>0</id>
          <type>image</type>
          <texture>#WorldWeather.ForecastDay0IconImage</texture>
          <shouldCache>true</shouldCache>
          <posX>705</posX>
          <posY>0</posY>
          <height>180</height>
          <width>180</width>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="20" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
        </control>
        <control>
          <description>DAY 2 ICON</description>
          <id>0</id>
          <type>image</type>
          <texture>#WorldWeather.ForecastDay1IconImage</texture>
          <shouldCache>true</shouldCache>
          <posX>955</posX>
          <posY>0</posY>
          <height>180</height>
          <width>180</width>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="20" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
        </control>
        <control>
          <description>DAY 3 ICON</description>
          <id>0</id>
          <type>image</type>
          <texture>#WorldWeather.ForecastDay2IconImage</texture>
          <shouldCache>true</shouldCache>
          <posX>705</posX>
          <posY>345</posY>
          <height>180</height>
          <width>180</width>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="20" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
        </control>
        <control>
          <description>DAY 4 ICON</description>
          <id>0</id>
          <type>image</type>
          <texture>#WorldWeather.ForecastDay3IconImage</texture>
          <shouldCache>true</shouldCache>
          <posX>955</posX>
          <posY>345</posY>
          <height>180</height>
          <width>180</width>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="20" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
        </control>
        <control>
          <description>GROUP: FULL WEATHER DETAILS</description>
          <type>group</type>
          <dimColor>0xffffffff</dimColor>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">Hidden</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">Visible</animation>
          <animation effect="fade" start="0" end="100" delay="100" time="400" reversible="false">WindowOpen</animation>
          <animation effect="fade" start="100" end="0" delay="100" time="400" reversible="false">WindowClose</animation>
          <visible>plugin.isenabled(World Weather)+[Control.HasFocus(1705)|Control.HasFocus(1805)|control.isvisible(1205)]+!control.isvisible(11111)</visible>
          <control>
            <description>DAY 1 LABEL</description>
            <type>label</type>
            <id>0</id>
            <posX>550</posX>
            <posY>470</posY>
            <align>center</align>
            <label>6030</label>
            <font>mediastream11tc</font>
            <textcolor>White</textcolor>
          </control>
          <control>
            <description>DAY 1 TEMP</description>
            <type>label</type>
            <id>0</id>
            <posX>550</posX>
            <posY>405</posY>
            <align>center</align>
            <label>#WorldWeather.TodayTemperature</label>
            <font>mediastream28tc</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 1 GENERAL WEATHER</description>
            <type>textbox</type>
            <id>0</id>
            <posX>465</posX>
            <posY>325</posY>
            <width>170</width>
            <height>60</height>
            <font>mediastream13</font>
            <align>right</align>
            <textcolor>white</textcolor>
            <label>#WorldWeather.TodayCondition</label>
          </control>
          <control>
            <description>DAY 2 LABEL</description>
            <type>label</type>
            <id>0</id>
            <posX>795</posX>
            <posY>315</posY>
            <align>center</align>
            <label>#WorldWeather.ForecastDay0Day</label>
            <font>mediastream11tc</font>
            <textcolor>White</textcolor>
          </control>
          <control>
            <description>DAY 2 MAX VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>710</posX>
            <posY>270</posY>
            <align>left</align>
            <label>#WorldWeather.ForecastDay0High</label>
            <font>mediastream12</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 2 MIN VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>880</posX>
            <posY>270</posY>
            <align>right</align>
            <label>#WorldWeather.ForecastDay0Low</label>
            <font>mediastream12</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 2 AM WEATHER</description>
            <type>textbox</type>
            <id>0</id>
            <posX>710</posX>
            <posY>170</posY>
            <width>160</width>
            <height>50</height>
            <label>#WorldWeather.ForecastDay0Condition</label>
            <font>mediastream10</font>
            <align>left</align>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 3 LABEL</description>
            <type>label</type>
            <id>0</id>
            <posX>1045</posX>
            <posY>315</posY>
            <align>center</align>
            <label>#WorldWeather.ForecastDay1Day</label>
            <font>mediastream11tc</font>
            <textcolor>White</textcolor>
          </control>
          <control>
            <description>DAY 3 MAX VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>960</posX>
            <posY>270</posY>
            <align>left</align>
            <label>#WorldWeather.ForecastDay1High</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 3 MIN VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>1130</posX>
            <posY>270</posY>
            <align>right</align>
            <label>#WorldWeather.ForecastDay1Low</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 3 AM WEATHER</description>
            <type>textbox</type>
            <id>0</id>
            <posX>960</posX>
            <posY>170</posY>
            <width>160</width>
            <height>50</height>
            <width>170</width>
            <label>#WorldWeather.ForecastDay1Condition</label>
            <font>mediastream10</font>
            <align>left</align>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 4 LABEL</description>
            <type>label</type>
            <id>0</id>
            <posX>795</posX>
            <posY>660</posY>
            <align>center</align>
            <label>#WorldWeather.ForecastDay2Day</label>
            <font>mediastream11tc</font>
            <textcolor>White</textcolor>
          </control>
          <control>
            <description>DAY 4 MAX VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>710</posX>
            <posY>615</posY>
            <align>left</align>
            <label>#WorldWeather.ForecastDay2High</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 4 MIN VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>880</posX>
            <posY>615</posY>
            <align>right</align>
            <label>#WorldWeather.ForecastDay2Low</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 4 AM WEATHER</description>
            <type>textbox</type>
            <id>0</id>
            <posX>710</posX>
            <posY>515</posY>
            <width>160</width>
            <height>50</height>
            <width>170</width>
            <label>#WorldWeather.ForecastDay2Condition</label>
            <font>mediastream10</font>
            <align>left</align>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 5 LABEL</description>
            <type>label</type>
            <id>0</id>
            <posX>1045</posX>
            <posY>660</posY>
            <align>center</align>
            <label>#WorldWeather.ForecastDay3Day</label>
            <font>mediastream11tc</font>
            <textcolor>White</textcolor>
          </control>
          <control>
            <description>DAY 5 MAX VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>960</posX>
            <posY>615</posY>
            <align>left</align>
            <label>#WorldWeather.ForecastDay3High</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 5 MIN VALUE</description>
            <type>label</type>
            <id>0</id>
            <posX>1130</posX>
            <posY>615</posY>
            <align>right</align>
            <label>#WorldWeather.ForecastDay3Low</label>
            <font>mediastream11</font>
            <textcolor>white</textcolor>
          </control>
          <control>
            <description>DAY 5 AM WEATHER</description>
            <type>textbox</type>
            <id>0</id>
            <posX>960</posX>
            <posY>515</posY>
            <width>160</width>
            <height>50</height>
            <width>170</width>
            <label>#WorldWeather.ForecastDay3Condition</label>
            <font>mediastream10</font>
            <align>left</align>
            <textcolor>white</textcolor>
          </control>
        </control-->
        <import>basichome.weather.summary.xml</import>
        <!--m3rcury - Weather Summary MOD -->
    • Copy the attached basichome.weather.summary.xml into your skin folder.
    • In your skin folder, goto Media\Animations\weathericons and create a new folder called background.
    • Goto here to download the album from Picasa or else here to download a zipped file containing the weather images. Images should be stored in the background folder created in the previous step.
    You should now have implemented this MOD.

    Hope you like it. (y)


    For those of you who have my main MOD implemented, I am working to incorporate this one into it as well. ;)



    To the developers of StreamedMP. Is it possible to externalize the weather summary from the BasicHome.xml like I did here, so that if one does a similar MOD, the editor does not override.

    Thanks. :p
     

    Attachments

    • basichome.weather.summary.xml
      25.8 KB
    • BasicHome.xml
      183.3 KB
    Last edited:

    Shangostar

    MP Donator
  • Premium Supporter
  • December 27, 2009
    438
    125
    Somerset
    Home Country
    United Kingdom United Kingdom
    Looks very nice, definitely ads a splash of colour, reminds me a lot of sense 4.0, especially the weather clock.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    As said above, I've included this MOD as part of my main MOD which can be viewed/downloaded from here.


    Regards (y)
     

    psykix

    MP Donator
  • Premium Supporter
  • July 10, 2009
    785
    46
    Wirral
    Home Country
    United Kingdom United Kingdom
    Loving your mod!

    I can't get the weather to work though since Google pulled their API.

    I'm using World Weather 0.6.0 but it seems to keep to New York no matter what I enter in the config!

    I would install 0.6.1 but can't find any instructions as to where I unzip it to?

    Cheers!
     

    psykix

    MP Donator
  • Premium Supporter
  • July 10, 2009
    785
    46
    Wirral
    Home Country
    United Kingdom United Kingdom
    EDIT : Just realised I donwloaded the Mod from your website and it is not the current version - downloaded the one linked for 1.3a and that has the weather mod.

    Now to figure where to unzip World Weather 0.6.1 to!
     

    Users who are viewing this thread

    Top Bottom