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

kjegibbons

MP Donator
  • Premium Supporter
  • May 7, 2011
    400
    101
    63
    Surrey
    Home Country
    United Kingdom United Kingdom
    Great. Thanks. How did you get a city code?

    When you have your town and county entered and have entered your key in WW config click "Detect" and the city code will be generated...........

    Capture.PNG

    You should also find that your location will now appear in the Geographical Clock.
     

    Pat Clark

    Portal Pro
    April 25, 2012
    264
    34
    Wisconsin
    Home Country
    United States of America United States of America
    Hi Alfred,
    ... shouldn't it be "psi" ? Inch is - as far as I know - length...
    You are right, but Weather Underground use the unit "in" for pressure. Take a look to the homepage of this provider, enter a location and chance to US metrics.
    Cheers, Micropolis

    I don't know if anybody commented on this, but FYI, the US sometimes uses "inches of mercury." (! ?) That's how the very earliest barometers worked, circa 1644 -- a pool of mercury with a tube suspended in it, and the measurement is how high the mercury rises. Die-hard non-metric users we are. (But the US also uses millibars.)
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Dear community,
    at the well known place you can find the latest nightly build v0.6.5 for testing purposes. Main goal of this version was to support Google as 3rd weather map provider.
    This version is the latest nightly build, the first release candidate comes after the successful execution of implemented regression and performance tests. As I said before, please help me to test and harden this application. Also I would be happy, if more updated language files can be included into the next version. Thanks in advance to members, who want to get involved.

    @FillR:
    ... I should admit that I also have problems with some of the plugin functions, for example my personal dates never appear in the calendar, the starry night don't use my URL ...
    I don't know exactly, if you use the original version of StreamedMP or special mods. Regarding the date issue, please search in the WorldWeather relevant skin files for lines like "CalendarSelfDefined<digit>Day" or "CalendarSelfDefined<digit>DayDescription" (<digit> is a number between 0 and 4). If you couldn't find this, self defined calendar days are not supported by your skin. I know, Marduk65 has made a mod, which displays these settings correctly.
    Regarding your starry sky URL please make sure, that the entered URL is ISO-conform, means it start with "http://", no double slashes between and no slash at the end. If you like, you could post your weather profile (WorldWeather.xml from c:\programdata\team mediaportal\mediaportal) here and I can take a look into this in the next few days.

    @Holzi:
    ... I got a small problem tho: #WorldWeather.LocationCountry doesn't seem to work for me. It returns nothing...
    Please check again, I had change the display logic for city code, postal code, country and region.

    @kjegibbons:
    ... the entry that is in the config box I had to copy and paste directly into it. Even so, I still don't see my image in the GUI as it still shows the original default images even though I have removed them from the xml file...
    The combobox and display tests has passed for the URL http://www.frontierastro.co.uk/Maps/London_North.jpg inside my own skin. So it's a problem of the skin file. I had check the file WorldWeatherAstronomy.xml now and yes, you are right. Your problem occurs, because the URL is hardcoded there. To solve the problem quickly, please open this file, replace the line "<texture>http://www.astronomie.de/Images/Himmelaktuell/obssky1.gif</texture>" with "<texture>#WorldWeather.ImageStarrySky</texture>" and save it. Now, your selected images must appear.
    The next build contains fixes for the skin files, thank you for finding.

    Best regards, Micropolis
     
    Last edited:

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Hi Alfred,
    ... shouldn't it be "psi" ? Inch is - as far as I know - length...
    You are right, but Weather Underground use the unit "in" for pressure. Take a look to the homepage of this provider, enter a location and chance to US metrics.
    Cheers, Micropolis

    I don't know if anybody commented on this, but FYI, the US sometimes uses "inches of mercury." (! ?) That's how the very earliest barometers worked, circa 1644 -- a pool of mercury with a tube suspended in it, and the measurement is how high the mercury rises. Die-hard non-metric users we are. (But the US also uses millibars.)
    Offtopic Just for love of science. Here is the illustrated idea behind it. Simple and brialiant.
    MERCURY.jpg
     
    Last edited:

    kjegibbons

    MP Donator
  • Premium Supporter
  • May 7, 2011
    400
    101
    63
    Surrey
    Home Country
    United Kingdom United Kingdom
    @kjegibbons:
    ... the entry that is in the config box I had to copy and paste directly into it. Even so, I still don't see my image in the GUI as it still shows the original default images even though I have removed them from the xml file...
    The combobox and display tests has passed for the URL http://www.frontierastro.co.uk/Maps/London_North.jpg inside my own skin. So it's a problem of the skin file. I had check the file WorldWeatherAstronomy.xml now and yes, you are right. Your problem occurs, because the URL is hardcoded there. To solve the problem quickly, please open this file, replace the line "<texture>http://www.astronomie.de/Images/Himmelaktuell/obssky1.gif</texture>" with "<texture>#WorldWeather.ImageStarrySky</texture>" and save it. Now, your selected images must appear.
    The next build contains fixes for the skin files, thank you for finding.

    Best regards, Micropolis[/quote]


    Thank you sir for taking the time to look into it. It is much appreciated.
    smiley-greet009.gif


    I now have.....

    Capture.PNG



    To save me playing around with settings and creating more problems than I am solving, how do I now get my http://www.frontierastro.co.uk/Maps/London_South.jpg to appear as the right hand image?

    Also, is the same true for user defined calendar dates, ie. hardcoded in the xml, or is it a skin problem?

    Many thanks and kind regards.
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Dear kjegibbons,
    ... To save me playing around with settings and creating more problems than I am solving, how do I now get my http://www.frontierastro.co.uk/Maps/London_South.jpg to appear as the right hand image? ...
    WorldWeather supports only one starry sky image by default. If you want to see your second image, you must made a hardcoded entry into your skin file. Search again for the WorldWeatherAstronomy.xml file and replace the second hardcoded URL http://www.astronomie.de/Images/Himmelaktuell/obssky1b.gif in the texture statement with your preferred URL.
    If you want to see both images in a slideshow, you can do this using the iterative parameter "rangeword" (see manual).

    ... Also, is the same true for user defined calendar dates, ie. hardcoded in the xml, or is it a skin problem? ...
    I suggest to execute the same steps as stated to FillR above. Currently I don't have access to my development machine, so I can't check the skin files itself.

    Cheers, Micropolis
     
    Last edited:

    Users who are viewing this thread

    Top Bottom