yrWeather Plugin 1.3.0.0 (1 Viewer)

burr

MP Donator
  • Premium Supporter
  • May 13, 2006
    175
    47
    Home Country
    Sweden Sweden
    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
     

    Attachments

    • ForecastByDay.jpg
      ForecastByDay.jpg
      180.5 KB
    • ForecastByHour.jpg
      ForecastByHour.jpg
      175.7 KB
    • Settings.jpg
      Settings.jpg
      53.1 KB
    • Home.jpg
      Home.jpg
      79.2 KB
    • BasicHome.jpg
      BasicHome.jpg
      113.1 KB
    • BasicHome + MyHome Skin.zip
      14.9 KB
    • Skinning Readme.txt
      1.6 KB
    • yrWeatherPlugin.mpe1
      378.9 KB
    Last edited:

    zicoz

    MP Donator
  • Premium Supporter
  • September 3, 2006
    896
    63
    Home Country
    Norway Norway
    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?
     

    Al_Capone

    MP Donator
  • Premium Supporter
  • September 26, 2006
    527
    19
    Home Country
    Norway Norway
    Re: yrWeather Plugin

    why is it not included in extension manager, so updates can be done there ?
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    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.
     

    burr

    MP Donator
  • Premium Supporter
  • May 13, 2006
    175
    47
    Home Country
    Sweden Sweden
    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?

    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.
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Re: yrWeather Plugin

    Translations are not wrong - but missing, meaning that I guess there is not IDs for:
    Code:
        <String id="103231">Night</String>
        <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.
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    50
    Milano, Italy
    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
     

    Users who are viewing this thread

    Top Bottom