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

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,

And there starts the problem for rain.

There is no problem. Take a look into the original mapping file WorldWeatherIconMapping.xml, for day you see <entry name="rain">10</entry> and for night <entry name="rain">45</entry> (see last nightly build).
If you change entries in your mapping file, you must also adapt your backdrop directory structure.

So the <unique> number is the same for backdrop and condition icon?

Correct.


@All:

There was a logical and programmatical error in my latest build, I have attached a manual build to the first post. #WorldWeather.LocationFeed is now #WorldWeather.Feed, #WorldWeather.TodayRandomNumber (values between 0-4) is a temporariliy toy for Holzi.


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

    Thank you for making this happen! =)
    Too bad I can't test it until next week.. nobody else is interested in this?! You can have more backdrops for one weather condition.. =)
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    960
    283
    42
    Rostock
    Home Country
    Germany Germany
    Re: AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hello!
    I got a question/suggestion.. would it be possible to show "random" backdrops for specific weather conditions?

    For example.. lets say weather condition is Rain which indicates backdrop 6.png. Now I want to make a weather folder named 6 with five weather images which show rain in there. If the condition is Rain I want to randomly show one of these five images.
    For now all is static right?
    Thanks!

    Awesome idea and the pictures you have attached , sensational.

    And thanks Micropolis that support this idea. My Christmas is saved, because I have something to do. (The presents were :mad:) .

    Nice Christmas and a happy new year. :D
     

    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

    Thanks!
    So hopefully this won't stay just temporary! =)
     

    ltfearme

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

    From what I understand you could already do multiple fanart for a specific weather condition. Instead of using a single image control use a MultiImage control and point the imagepath to the weather condition directory.
     

    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

    Could you make a quick example for that? Never heard that this works before..
    Thanks!
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Re: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Hi, Micropolis
    what do you think, to post on Gengo, translation files to facilitate their treatment?

    As AmpDroid plugin !
     

    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

    So, here my solution for the integration of the new World Weather feed feature ;)
    Merry Xmas to all of you - have fun ;)
     

    Attachments

    • Weather Feed deactivated.jpg
      Weather Feed deactivated.jpg
      140.4 KB
    • Weather Feed activated.jpg
      Weather Feed activated.jpg
      152.5 KB
    • WorldWeather for PureVisionHD.zip
      377.1 KB
    • WorldWeather for PureVisionHDBlue.zip
      376.8 KB
    • WorldWeather for PureVision.zip
      356.3 KB

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    AW: WorldWeather plugin v0.3.0 for MediaPortal v1.2.0 or higher

    Thank you for making this happen! =)
    Too bad I can't test it until next week.. nobody else is interested in this?! You can have more backdrops for one weather condition.. =)

    +1
    keine schlechte idee, finde ich.:cool:
     

    ltfearme

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

    Could you make a quick example for that? Never heard that this works before..
    Thanks!

    Code:
    <control>
          <type>multiimage</type>
          <id>1</id>
          <posX>0</posX>
          <posY>0</posY>
          <width>1280</width>
          <height>720</height>
          <imagepath>linkedweather\#WorldWeather.TodayIconNumber</imagepath>
          <timeperimage>10000</timeperimage>
          <fadetime>2000</fadetime>
          <loop>yes</loop>
          <randomize>yes</randomize>
    </control>

    So with this example you can have multiple backgrounds for the same weather condition.

    To setup this you will obviously need to create a linkedweather folder in the skins Media\Animations folder e.g.

    Code:
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Animations\linkedweather\

    And then create a sub-directory for each weather condition e.g.

    Code:
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Animations\linkedweather\0\
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Animations\linkedweather\1\
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Animations\linkedweather\2\
    ...
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media\Animations\linkedweather\47\

    You can then copy the images you think best fit each weather condition into each folder. When you enter WorldWeather it will fade nicely between each background image.

    Simple! No plugin changes required.
     

    Users who are viewing this thread

    Top Bottom