[solved] Fanart Handler Multi Weather (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #3
    Yup, saw that already ;) Still no sense for me (or my skins) ;) THX anyway ;)
    I can make 4 groups of pictures. Each of group should contain specific fanart depends on actual season. System should check actual date, and search for fanarts from proper group. Winter, Spring, Summer and Autumn.
    But it is necessary find images for every season, for every weather. If someone help to find pictures, I realize this opportunity. So is possible make another option for the night and the day. Then a picture of the current weather will be more correct and less static.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #4
    @Designers
    Someone could pick up four sets of pictures for the weather in the winter, spring, summer, autumn. It is advisable to 1920x1080 and make it 2-3 pictures for each weather. :whistle::):coffee:
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #5
    Weather number asigned for each condition like so:
    Code:
    00 Rain/Lightning
    01 Windy/Rain
    02 01
    03 00
    04 00
    05 Cloudy/Snow-Rain Mix
    06 Hail
    07 Icy/Clouds Rain-Snow
    08 Icy/Haze Rain (It may be the same as 39)
    09 Haze/Rain
    10 Icy/Rain
    11 Light Rain (It may be the same as 39)
    12 Moderate Rain (It may be the same as 39)
    13 Cloudy/Flurries
    14 13
    15 Flurries (It may be the same as 13)
    16 13
    17 00
    18 Hail ??? or 00 ???
    19 Dust
    20 Fog
    21 Haze
    22 Smoke
    23 Windy
    24 23
    25 Frigid
    26 Mostly Cloudy
    27 Mostly Cloudy/Night
    28 Mostly Cloudy/Sunny (It may be the same as 26)
    29 Partly Cloudy/Night
    30 Partly Cloudy/Day
    31 Clear/Night
    32 Clear/Day
    33 Hazy/Night
    34 Hazy/Day (It may be the same as 21)
    35 00
    36 Hot!
    37 Lightning/Day (It may be the same as 00)
    38 Lightning (It may be the same as 00)
    39 Rain/Day
    40 Rain (In Weather Fanart Pack: Same as 39)
    41 Snow
    42 41
    43 Windy/Snow
    44 30
    45 Rain/Night
    46 Snow/Night
    47 Thunder Showers/Night
    @Micropolis this is the correct values?
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #6
    @ysmp
    You can help the HD picture for the time of year? One can not for all images as such as heat in the winter usually does not happen :) And if possible then 2-3 pictures per weather ...
    Thanks in advance, I'll try just to see ...
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #7
    Weather condition codes by Yahoo ...
    Code:
    0    tornado
    1    tropical storm
    2    hurricane
    3    severe thunderstorms
    4    thunderstorms
    5    mixed rain and snow
    6    mixed rain and sleet
    7    mixed snow and sleet
    8    freezing drizzle
    9    drizzle
    10    freezing rain
    11    showers
    12    showers
    13    snow flurries
    14    light snow showers
    15    blowing snow
    16    snow
    17    hail
    18    sleet
    19    dust
    20    foggy
    21    haze
    22    smoky
    23    blustery
    24    windy
    25    cold
    26    cloudy
    27    mostly cloudy (night)
    28    mostly cloudy (day)
    29    partly cloudy (night)
    30    partly cloudy (day)
    31    clear (night)
    32    sunny
    33    fair (night)
    34    fair (day)
    35    mixed rain and hail
    36    hot
    37    isolated thunderstorms
    38    scattered thunderstorms
    39    scattered thunderstorms
    40    scattered showers
    41    heavy snow
    42    scattered snow showers
    43    heavy snow
    44    partly cloudy
    45    thundershowers
    46    snow showers
    47    isolated thundershowers
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #9
    Prepared images in HD quality for the weather, keep on ...
    Code:
    0    tornado
    1    tropical storm
    2    hurricane
    3    severe thunderstorms
    4    thunderstorms
    5    mixed rain and snow
    6    mixed rain and sleet
    7    mixed snow and sleet
    8    freezing drizzle
    9    drizzle
    10    freezing rain
    11    showers
    12    showers
    13    snow flurries
    14    light snow showers
    15    blowing snow
    16    snow
    17    hail
    18    sleet
    19    dust
    20    foggy
    21    haze
    22    smoky
    23    blustery
    24    windy
     
    Last edited:

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Hi @ajs,
    How much difference ... @Micropolis where I can find the exact list?

    sorry for my late reply. If I understand correctly, you want to add images for the current weather condition by using the WorldWeather weather code. Right?
    In case of yes, please let me explain the system in WorldWeather a little bit: Due to the fact, that different weather providers have different codes and numbers, I've created a global list to map each provider to this generic list. The generic list contains the following codes:

    DayTornado = 0
    DayTropicalStorm = 1
    DayHurricane = 2
    DaySevereThunderstorms = 3
    DayThunderstorms = 4
    DayMixedRainAndSnow = 5
    DayMixedRainAndSleet = 6
    DayMixedSnowAndSleet = 7
    DayFreezingDrizzle = 8
    DayDrizzle = 9
    DayFreezingRain = 10
    DayShowers = 11
    DayShowers2 = 12
    DaySnowFlurries = 13
    DayLightSnowShowers = 14
    DayBlowingSnow = 15
    DaySnow = 16
    DayHail = 17
    DaySleet = 18
    DayDust = 19
    DayFog = 20
    DayHaze = 21
    DaySmoke = 22
    DayBlustery = 23
    DayWindy = 24
    DayCold = 25
    DayCloudy = 26
    NightMostlyCloudy = 27
    DayMostlyCloudy = 28
    NightPartlyCloudy = 29
    DayPartlyCloudy = 30
    NightClear = 31
    DaySunny = 32
    NightFair = 33
    DayFair = 34
    DayMixedRainAndHail = 35
    DayHot = 36
    DayIsolatedThunderstorms = 37
    DayScatteredThunderstorms = 38
    DayScatteredThunderstorms2 = 39
    DayHeavyRain = 40
    DayScatteredSnowShowers = 41
    DayScatteredSnowShowers2 = 42
    DayHeavySnow = 43
    DayPartlyCloudy2 = 44
    NightThunderShowers = 45
    NightSnowShowers = 46
    NightIsolatedThundershowers = 47

    The mapping itself will be controlled by the file "WorldWeatherIconMapping.xml" (see example attached). Each provider has a specific section, the value of a specific weather code (see entry name) contains the pointer to the generic list.

    Regards, Alex
     

    Attachments

    • WorldWeatherIconMapping.xml
      27.3 KB

    Users who are viewing this thread

    Top Bottom