yrWeather Plugin 1.3.0.0

Discussion in 'MediaPortal 1 Plugins' started by burr, August 19, 2010.

  1. burr
    • Premium Supporter

    burr MP Donator

    Joined:
    May 13, 2006
    Messages:
    175
    Likes Received:
    47
    Ratings:
    +47 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Version 1.3.0.0

    This is a plugin that retrieves data from yr.no

    The plugin supports multiple locations, and supports weather "day by day" an also "hour by hour"
    Setting up locations is done in configuration, you have to enter the url for the corresponding location
    example "http://www.yr.no/place/Norway/Oslo/Oslo/Oslo/" and
    that's it.



    Translations
    English
    Swedish
    German
    France
    Netherlands
    Norweigan
    Russian
    Italian


    please post for other languages or updates.

    Changelist 1.3.0.0
    -Fahrenheit and Miles Per Hour can now be selected,
    -Minor bug fixes.
    -Fanart condition now updates correctly every hour to first available condition in hour by hour
    -Add weather Condition Pack (weather_BG) ,( put folder in : C:\ProgramData\Team MediaPortal\MediaPortal\skin\DefaultWide\Media\Weather)
    -new place for the weather condition pack : https://www.team-mediaportal.com/extensions/weather-condition-pack?lang=en
     

    Attached Files:

    Last edited: August 7, 2012
    • Like Like x 17
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. zicoz
    • Premium Supporter

    zicoz MP Donator

    Joined:
    September 3, 2006
    Messages:
    896
    Likes Received:
    53
    Ratings:
    +60 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Re: yrWeather Plugin

    Been waiting for this so thanks alot, is it possible to have Infoservice and StreamedMP pull data from this instead of the built-in weather plugin for it's weather services?
     
  4. tompa
    • Premium Supporter

    tompa MP Donator

    Joined:
    October 3, 2005
    Messages:
    665
    Likes Received:
    35
    Gender:
    Male
    Location:
    Stockholm
    Ratings:
    +35 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Re: yrWeather Plugin

    Installed and running great!

    Thanks!
    /tompa
     
  5. Al_Capone
    • Premium Supporter

    Al_Capone MP Donator

    Joined:
    September 26, 2006
    Messages:
    527
    Likes Received:
    13
    Gender:
    Male
    Ratings:
    +19 / 1
    Home Country:
    Norway Norway
    Show System Specs
    Re: yrWeather Plugin

    why is it not included in extension manager, so updates can be done there ?
     
  6. ysmp
    • Team MediaPortal

    ysmp Design Group

    Joined:
    May 17, 2008
    Messages:
    1,861
    Likes Received:
    701
    Gender:
    Male
    Location:
    Seoul.
    Ratings:
    +790 / 1
    Home Country:
    South Korea South Korea
    Re: yrWeather Plugin

    hi .. some screenshots ..will be nice ....:D
     
  7. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Re: yrWeather Plugin

    Screenshot:
    yr.png
    Grerat work!

    Some notes:
    • - There are some missing translations (night etc.)
      - "City" should be replaced by "Place" or similar, as yr has the ability to lookup smaller places.

    EDIT:
    I found the description a bit to simple (in lack of other wording). Here is hot to find your URL:
    - Go to yr.no ? Været for Norge og verden fra Meteorologisk institutt og NRK (select language on right side, if needed)
    - Search for your place (just start typing and results will display)
    - Copy URL, ie: Weather forecast for Gatwick in England (United Kingdom), 73 m. ? yr.no and paste it into the plugins config.
     
    • Like Like x 2
  8. burr
    • Premium Supporter

    burr MP Donator

    Joined:
    May 13, 2006
    Messages:
    175
    Likes Received:
    47
    Ratings:
    +47 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Re: yrWeather Plugin

    In MP its no interface for the weather catcher so i had to make a whole new plugin, and if you want Infoservice or StreamedMP to pull data you have to make your own code. I will put the source code in the first post if you want to use it. In MP2 this will be easier because it will be a common interface IWeatherCatcher so you can pull data to anything you like.
     
  9. burr
    • Premium Supporter

    burr MP Donator

    Joined:
    May 13, 2006
    Messages:
    175
    Likes Received:
    47
    Ratings:
    +47 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Re: yrWeather Plugin

    A question is the english translation wrong or norweigan? Is there no translation for norweigan
    cause it should be?


    Maybe City/Village ?
     
  10. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Re: yrWeather Plugin

    Translations are not wrong - but missing, meaning that I guess there is not IDs for:
    Code (Text):
    1.     <String id="103231">Night</String>
    2.     <String id="103232">Evening</String>
    Judging from the date, your plugin modified the strings_en.xml (!), but left the other strings, so I guess this is why. I think you need to find another way to ad language strings for the plugin.


    Regarding "City#, etc, I'd prefer just:
    Gatwick, Monday 23. August
    ... i one line.
     
  11. chemelli
    • Premium Supporter

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    Re: yrWeather Plugin

    Please don't rely on a modified strings_xx.xml file for your plugin.
    Instead create a subdir "yrWeather" in the language file main dir and put your strings_xx.xml file there.

    :D

    Simone
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!