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

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    For me, WorldWeather 3.0 won't localize to danish, even if I set "localization" to danish instead of automatic :(

    Code:
    2011-12-19 19:44:01.140171 [Info.][MPMain(1)]:   Load plugins from : C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\WebBrowser.dll
    2011-12-19 19:44:01.143171 [Info.][MPMain(1)]:   File Version : 0.6.0.0
    2011-12-19 19:44:01.146172 [Info.][MPMain(1)]:   Load plugins from : C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\WorldWeather.Core.dll
    2011-12-19 19:44:01.150172 [Info.][MPMain(1)]:   File Version : 0.3.0.0
    2011-12-19 19:44:01.153172 [Info.][MPMain(1)]:   Load plugins from : C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\WorldWeather.dll
    2011-12-19 19:44:01.158172 [Info.][MPMain(1)]:   File Version : 0.3.0.0
    2011-12-19 19:44:01.169173 [Info.][MPMain(1)]:     Loading strings file: strings_da.xml
    2011-12-19 19:44:01.170173 [Info.][MPMain(1)]:     Loading strings file: strings_en.xml
    2011-12-19 19:44:01.170173 [Info.][MPMain(1)]:     String not found, using English: 0 : Show %1...
    2011-12-19 19:44:01.171173 [Info.][MPMain(1)]:     String not found, using English: 1 : Location...
    2011-12-19 19:44:01.171173 [Info.][MPMain(1)]:     String not found, using English: 2 : Refresh
    2011-12-19 19:44:01.171173 [Info.][MPMain(1)]:     String not found, using English: 10 : Condition
    2011-12-19 19:44:01.171173 [Info.][MPMain(1)]:     String not found, using English: 11 : Weather Images
    2011-12-19 19:44:01.171173 [Info.][MPMain(1)]:     String not found, using English: 12 : GeoClock
    ..and it goes on with all strings.

    strings_da.xml IS in C:\ProgramData\Team MediaPortal\MediaPortal\Language\WorldWeather

    Anyone else having this problem?
     

    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 pilehave,
    sorry, this was my mistake. Please wait for the upcoming nightly build. Take a look to the first post later.

    Cheers, Micropolis
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi Micropolis, I noticed your not version incrementing Micropolis.MPCore.dll when you make changes to it. It should be greater than 1.0.0.0 now as there has been changes to it from your 1st release.
     

    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 nightly build was uploaded for testing purposes only, please use it at your own risk.

    List of plugin related changes:
    • configuration options for weather map added
    • fix for danish localization support (thx to pilehave)
    • add missing precipitation translation (#WorldWeather.TranslationPrecipitation) (thx to rsbrux, rogerleifert)

    pilehave: The current danish translation file (strings_da.xml) seems to be corrupted or damaged. If I download the last version from here, the same MP error occurs. Could you reproduce this?

    ltfearme: I know, currently the incrementing mechanism of my Team Foundation Server isn't configured correctly. Maybe later, because it's not important yet.


    Cheers, Micropolis
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    @pilehave: The current danish translation file (strings_da.xml) seems to be corrupted or damaged. If I download the last version from here, the same MP error occurs. Could you reproduce this?
    Problem with the file you are linking to, is that the special characters are not converted to UTF-8.

    Æ, ø and å are the characters, that seperates danish from english, but the problem also seems to apply to é, è and other funny characters.

    Easiest thing is to just use ISO-8859-1, the attached file works for me (with your old 0.30 version, I didn't test the nightly build!)

    UTF-8 is great on the Internet, but since we are dealing with a Windows-only application I don't see the reason not to use ISO-8859-1. As a matter of fact, both OnlineVideos, Moving Pictures and MP-TVSeries uses ISO-8859-1 for the danish translations :)

    EDIT2: Uploaded a new strings_da.xml, because the degree sign was corrupted. Now uses & #176; (remove space between & and #) instead.
     

    Attachments

    • strings_da.xml
      3.3 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

    Error will probably be the lines:
    <String id="53">Fejl i indlŠsningen af verdensur.</String>
    <String id="53">Fejl i indlŠsningen af stjerneklart billedet.</String>
    twice the same id
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Error will probably be the lines:
    <String id="53">Fejl i indlŠsningen af verdensur.</String>
    <String id="53">Fejl i indlŠsningen af stjerneklart billedet.</String>
    twice the same id

    Yes, that is a mistake, but no, it won't stop the plugin from working :)

    New danish language file attached to my previous post!
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi Micropolis,

    I am using v0.3.0 and everything seems to be working fine except for:

    The sunrise and sunset times are late by one hour - probably because we (Eastern Australia) are currently in Daylight Saving Time and this is not being taken into account?

    The wind speed is displayed in mph, even though Australia uses kmh. I gather this is because the weather data is pulled from google.com - hence USA units?

    The supplied WorldWeather.xml contains a couple of errors - the wind values were too far to the left and the Sunset and Sunrise labels were transposed. I have attached a corrected version of WorldWeather.xml.

    Thanks for all your great work - this is a big improvement over the built-in non-fuctioning Weather. Is there an easy way to disable the builtin Weather so that only World Weather is visible?

    Cheers,

    Taipan
     

    Attachments

    • WorldWeather.xml
      26 KB

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi.
    Is there an easy way to disable the builtin Weather so that only World Weather is visible?
    No need to worry about this. In (soon) upcoming MP Version 1.2.2 the old, not working weather plugin is removed. For now you can disable Weather plugin as any other plugin in MP config.
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    Re: AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    For now you can disable Weather plugin as any other plugin in MP config.

    Of course - why didn't I try that earlier .... :oops: ... Thanks.

    I should have also said the the WorldWeather.xml attached to my earlier post is for the DefaultWide skin ...
     

    Users who are viewing this thread

    Top Bottom