WorldWeather plugin v1.10.0 for MediaPortal 1.3.0 and higher (9 Viewers)

Holzi

Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hello!
    The translation property is fine! =)
    But the skin designers maybe missing the property for Sun times image (#WorldWeather.ImageSuntime) in the documentation so they don't know how to display that image. Again, it's just a very minor thing. =)
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    I've further investigated why my translation doesn't show up. This is from the MediaPortal.log:

    2011-12-23 12:17:18.984375 [Info.][MPMain(1)]: Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\windows\WorldWeather.dll
    2011-12-23 12:17:18.984375 [Info.][MPMain(1)]: File Version : 0.3.2.0
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: Loading strings file: strings_sv.xml
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: Loading strings file: strings_en.xml
    2011-12-23 12:17:19.000000 [Debug][MPMain(1)]: ExtendedChars = False:False, StringChars = 0
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: String not found, using English: 0 : Show %1...
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: String not found, using English: 1 : Location...
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: String not found, using English: 2 : Refresh
    2011-12-23 12:17:19.000000 [Info.][MPMain(1)]: String not found, using English: 10 : Condition
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 11 : Weather Images
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 12 : GeoClock
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 13 : Starry Sky
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 20 : Menu
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 21 : Change weather provider...
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 22 : Open weather map
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 30 : Provider
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 31 : Location
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 40 : Do you really want to change your weather provider?
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 50 : A required internet connection is not established.
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 51 : Error loading weather condition data.
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 52 : Error loading weather image from %1.
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 53 : Error loading geoclock image.
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 54 : Error loading starry sky image.
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 60 : Monday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 61 : Tuesday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 62 : Wednesday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 63 : Thursday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 64 : Friday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 65 : Saturday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 66 : Sunday
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 70 : Sunny
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 71 : Mostly sunny
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 72 : Cloudy
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 73 : Mostly cloudy
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 74 : Partly cloudy
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 75 : Rain
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 76 : Chance of rain
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 77 : Showers
    2011-12-23 12:17:19.015625 [Info.][MPMain(1)]: String not found, using English: 78 : Snow
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 79 : Chance of snow
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 80 : Storm
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 81 : Chance of storm
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 82 : Thunderstorm
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 83 : Chance of thunderstorm
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 84 : Flurries
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 85 : Sleet
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 86 : Icy
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 87 : Fog
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 88 : Smoke
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 89 : Haze
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 90 : Mist
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 91 : Dust
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 100 : new moon
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 101 : waxing crescent
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 102 : first quarter
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 103 : waxing gibbous
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 104 : full moon
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 105 : waning gibbous
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 106 : last quarter
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 107 : waning crescent
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 120 : °C
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 121 : °F
    2011-12-23 12:17:19.031250 [Info.][MPMain(1)]: String not found, using English: 122 : K
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 123 : °R
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 125 : km/h
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 126 : mph
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 127 : kts
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 500 : Temperature
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 501 : Condition
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 502 : Wind
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 503 : Humidity
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 504 : Moon phase
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 505 : Daylight
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 506 : Next daylight
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 507 : Sunrise
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 508 : Sunset
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 509 : Location
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 510 : Current
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 511 : Forecast
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 512 : Precipitation
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 520 : Satellite
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 521 : Temperature
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 522 : UV Index
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 523 : Wind
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 524 : Precipitation
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 525 : Suntime
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 526 : Pollen count
    2011-12-23 12:17:19.046875 [Info.][MPMain(1)]: String not found, using English: 527 : World
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: String not found, using English: 528 : Webcam
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: String not found, using English: 529 : Humidity
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: String not found, using English: 540 : Geographical clock
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: String not found, using English: 550 : Starry sky
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: Loading localized Strings - Path: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Language Culture: sv Language: Swedish Prefix: False
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: Loading strings file: strings_sv.xml
    2011-12-23 12:17:19.062500 [Debug][MPMain(1)]: ExtendedChars = False:False, StringChars = 0
    2011-12-23 12:17:19.062500 [Info.][MPMain(1)]: Loading strings file: strings_en.xml
    2011-12-23 12:17:19.078125 [Debug][MPMain(1)]: ExtendedChars = False:False, StringChars = 0

    The strings_sv.xml is placed in the User files Language\WorldWeather folder right next to the strings_en.xml and the otheres. What's weird is that some of the strings show up correctly in MediaPortal, so something weird's going on. :mad:

    Translated to Swedish at the moment (maybe more strings are picked up, I'm just going by what's showing in MediaPortal right now as a reference):
    Today
    Fog
    Humidity
    Wind
    Sunrise
    Sundown
    Chance Of Rain
    Mostly Sunny

    I'm using Google as provider.
    Emph
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi emphatic,
    I had analyzed your language file and found the following things:

    • I have change the line <Language name="Svenska" characters="255"> to <Language name="Swedish" characters="255">
    • string 70 was not terminated correctly, I have change this.

    Attached you can find the modified translation file for v0.3.3. This contains the english translations for my last nightly build, so please translate this. Hope this helps.

    Cheers, Micropolis
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi emphatic,
    I had analyzed your language file and found the following things:

    • I have change the line <Language name="Svenska" characters="255"> to <Language name="Swedish" characters="255">
    • string 70 was not correctly terminated, I have change this.

    Attached you can find the modified translation file for v0.3.3. This contains the english translations for my last nightly build, so please translate this. Hope this helps.

    Cheers, Micropolis

    That is terrific. I tried to change to Swedish instead of Svenska but that didn't matter in my case. I have translated the new strings .

    Merry Christmas!
    Emph
     

    Attachments

    • strings_sv.xml
      4.2 KB

    bkv

    Portal Member
    February 27, 2010
    43
    28
    Home Country
    Czech Republic Czech Republic
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi,
    recall errors in the plugin WorldWeather. Unfortunately it has not yet been removed. I wrote about them Dec. 13, 2011 (page 36). These are:
    1. Bad weather coding description below the icons for each day
    2. Lack of space in the strength and direction of the wind
    3. Swapped stories of sunrise and sunset

    plugin version 0.3.3 (Nightly Build) language package and set the plugin attached.

    Thanks for the plug, a beautiful Christmas and a Happy New Year.
    (Google English :oops:)
     

    Attachments

    • ScreenShot476.jpg
      ScreenShot476.jpg
      370.6 KB
    • strings_cs.xml
      4.1 KB
    • WorldWeather.xml
      2.8 KB

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,568
    10,558
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    :oops: Made the same mistake with Default Wide swapping sunrise/sunset labels...
    So here again the official Default Wide xmls.
    Sorry for your inconvinience.
     

    Attachments

    • WorldWeather for DefaultWide.zip
      934 KB

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Dear community,
    a new build v0.3.3 was uploaded for testing purposes only, please use it at your own risk.

    List of plugin related changes:
    • new properties (#WorldWeather.LocationDate, #WorldWeather.LocationTime)
    • configuration option to delete a profile
    • rework and hardening of some weather wrapper routines

    From my point of view, this is a feature-complete build for the upcoming version 0.3.5. Now I'll start a complete regression test, maybe a debugged version or a release candidate comes after christmas.

    @bkv:

    Bad weather coding description below the icons for each day, Lack of space in the strength and direction of the wind

    It's hard to reproduce this issue on my development machine. I suspect some codepage issues here. I made some changes to the weather provider wrapper, please test the output with latest build. If this doesn't work again, I suggest to use the properties #WorldWeather.TodayWindSpeed and #WorldWeather.TodayWindDirection instead of #WorldWeather.TodayWind. Regarding weather coding description you can use #WorldWeather.TodayIconDescription or #WorldWeather.ForecastDay<digit>IconDescription alternatively. Please see the included manual for more information.

    @Cruzer:

    I too show sunrise and sunset times as one hour late.

    I don't know exactly, where I can start with analyzing. The whole content for time zones comes from managed .NET routines. During my test, I had select "(UTC-08:00) Pacific Time", this gives me a UTCSpan result of -480 (and not -420 as you posted here). Could you tell me, which OS do you use and which .NET release do you have installed?


    Cheers, Micropolis
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hello!
    Thanks for this new testbuild!
    Will you start with Yahoo weather after 0.3.5 is released?
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Re: AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hello Holzi,

    Will you start with Yahoo weather after 0.3.5 is released?

    There are 2 major changes planned after v0.3.5: integration of coverflow/filmstrip view to display weather images and wrapper support for Yahoo as 2nd weather provider.

    Cheers, Micropolis
     

    Users who are viewing this thread

    Top Bottom