Edit home.xml to add Weather Info (1 Viewer)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Is there a way to edit the non-basic home screen to add weather icons

    My screen is 1920x1080 so i have lots of room down the bottom of the home screen.
    I thought it would be cool to have weather icons for the next 5 days in a row along the bottom of the screen.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    This is what i would like to achieve

    suggestionhomescreen.jpg
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    I do not think that you will be able to accomplish that without writing a new process plugin as well.

    Nearest solution would be to use the RSS Ticker plugin and to include only current location, temperature and condition. Example XML provided in that thread.
     

    gig

    MP Donator
  • Premium Supporter
  • December 24, 2006
    57
    8
    Home Country
    Germany Germany
    I did simple mode which adds weather to the myhome screen.
    Note:
    dont pay attention to the resolution of the screenshot since it was made on my PC. It works great with 16:9 screens!


    myhomevx8.png
     

    Attachments

    • myHome.xml
      30.6 KB
    • myHomePlugIns.xml
      30.6 KB
    • common.weather.xml
      30.6 KB

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Help adding #weather info to xml file

    I am trying to achive the following look with the home screen (mock up image)

    suggestionhomescreen.jpg


    Someone has developed the following common.weather.xml file that can add today's weather to home.xml

    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    - <window>
    - <controls>
    - <control>
    <description>Weather image</description>
    <type>image</type>
    <id>1282</id>
    <posX>1282</posX>
    <posY>20</posY>
    <width>64</width>
    <height>64</height>
    <texture>#weatherimg</texture>
    <align>right</align>
    </control>
    - <control>
    <description>Location</description>
    <type>label</type>
    <id>1</id>
    <posX>1260</posX>
    <posY>25</posY>
    <width>750</width>
    <align>right</align>
    <font>font10</font>
    <label>#location</label>
    <visible>control.hasthumb(1282)</visible>
    </control>
    - <control>
    <description>Temperature</description>
    <type>label</type>
    <id>1</id>
    <posX>1260</posX>
    <posY>50</posY>
    <width>750</width>
    <align>right</align>
    <font>font10</font>
    <label>#temp | #condition</label>
    <visible>control.hasthumb(1282)</visible>
    </control>
    </controls>
    </window>

    Is there a way to change this so i can call up tomorrow's weather instead? or day after tommorrow etc?
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Please see forum rules that crossposting is not allowed.
    I closed your other thread and moved the post here. I also moved this thread to skins-forum for better visibility.

    I still think that my answer in post #3 is correct, so I think your question should rather be if someone is willing to write you a separate process plugin which exposes more weather fields.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    never found solution for 5 day forecast. several skins have todays weather integrated into home screen
    but who cares about today, i can look out the window... i wanna know what its gonna be like tomorrow.
     

    Users who are viewing this thread

    Top Bottom