Problems with Weather Fanart

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #1
XBMC RC1 Rev25755 Windows 7 64

The actual weather is light snowing. The fanarts that show is from folder 14. I think folder 14 is "Cloudy/Flurries"

Debug Log
http://pastebin.ca/1719652
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #2
the fanart pack needs reorganizing. xbmc is returning the proper code 14 for the icon it's displaying.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #3
Nuka1195 Wrote:the fanart pack needs reorganizing. xbmc is returning the proper code 14 for the icon it's displaying.

Thanks for the info.
It's now a little bit tricky to find out which folder should use for which weather and day/night situation.

Regards
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #4
if you organize it, would you please keep track of what you did.

a tip, maybe you know. but find your xbmc/cache folder.
there will be a weather/128x128 with the icons.

should help/

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #5
I start to reorganize the pictures but for some points I am a little bit confuse and need help to understand.

The weather icon in the cache area very helpfully and I hope I understand that correct.

The icon with the sun in the background are for day.
The icon with the moon in the background are for night.
The icon without sun or moon are for day/night.

So a icon for night snowing (46.png) avialable, but the icon for day snowing is missing. In my homearea it is possible thats snow on daylight.

How will differ is day or night? Is their a special hour that switch from day to night and from night to day?

How will use for some weather situation the part without day/night. Last day it was snowing and the folder 14, 16, and 42 was in use. This are generally folder for snowing with differ intensity. In the night it was light snowing and the folder 14 is in use. If the weather switch to snow this night, is than the folder 46 in use or the folder 16.

Is a correct folder description available?
Quote:N/A Not Available
00 Rain/Lightning
01 Windy/Rain
02 Same as 01 (In Weather Fanart Pack: same as 01)
03 Same as 00 (In Weather Fanart Pack: same as 00)
04 Same as 00 (In Weather Fanart Pack: same as 00)
05 Cloudy/Snow-Rain Mix
06 Hail
07 Icy/Clouds Rain-Snow
08 Icy/Haze Rain (In Weather Fanart Pack: same as 39)
09 Haze/Rain
10 Icy/Rain
11 Light Rain (In Weather Fanart Pack: same as 39)
12 Moderate Rain (In Weather Fanart Pack: same as 39)
13 Cloudy/Flurries
14 Same as 13 (In Weather Fanart Pack: same as 13)
15 Flurries (In Weather Fanart Pack: same as 13)
16 Same as 13 (In Weather Fanart Pack: same as 13)
17 Same as 00 (In Weather Fanart Pack: same as 00)
18 Same as 00 (In Weather Fanart Pack: same as 00)
19 Dust
20 Fog
21 Haze
22 Smoke
23 Windy
24 Same as 23 (In Weather Fanart Pack: same as 23)
25 Frigid
26 Mostly Cloudy
27 Mostly Cloudy/Night
28 Mostly Cloudy/Sunny (In Weather Fanart Pack: same as 26)
29 Partly Cloudy/Night
30 Partly Cloudy/Day
31 Clear/Night
32 Clear/Day
33 Hazy/Night
34 Hazy/Day (In Weather Fanart Pack: same as 21)
35 Same as 00 (In Weather Fanart Pack: same as 00)
36 Hot!
37 Lightning/Day (In Weather Fanart Pack: same as 00)
38 Lightning (In Weather Fanart Pack: same as 00)
39 Rain/Day
40 Rain (In Weather Fanart Pack: Same as 39)
41 Snow
42 Same as 41 (In Weather Fanart Pack: same as 41)
43 Windy/Snow
44 Same as 30 (In Weather Fanart Pack: same as 30)
45 Rain/Night
46 Snow/Night
47 Thunder Showers/Night

This one works not very well.
Example this night at midnight it was a very nice cold night with partly cloudy.
The weather page describe fair, but the folder 33 is in use, depends on the icon. The folder description is hazy/night. But for my understanding is fair and hazy not the same weather.

I hope someone have some answers to me, to make the reorganisation a little bit easier and mainly we get a better result.

Thanks
find quote
Sneeka Offline
Member
Posts: 87
Joined: Apr 2009
Reputation: 0
Post: #6
I've just had a quick google, and found this description list. Seems a bit more accurate, looking at the icons..

0 – Thunderstorms
1 - Windy Rain
2 - Windy Rain
3 – Thunderstorms
4 – T-Storms
5 – Rain Snow
6 – Rain Sleet
7 - Snow/Rain Icy Mix
8 – Freezing Drizzle
9 – Drizzle
10 – Freezing Rain
11 – T-Showers / Showers / Light Rain
12 - Heavy Rain
13 - Snow Flurries
14 – Light Snow
15 – Snowflakes
16 - Heavy Snow
17 – Thunderstorms
18 – Hail
19 – Dust
20 – Fog
21 – Haze
22 – Smoke
23 – Windy
24 – Windy
25 – Frigid
26 – Cloudy
27 - Mostly Cloudy Night
28 - Mostly Cloudy
29 - Partly Cloudy Night
30 - Partly Cloudy
31 – Clear Night
32 – Sunny
33 – Fair / Mostly Clear Night
34 – Fair / Mostly Sunny
35 – Thunderstorms
36 – Hot
37 – Isolated Thunder
38 – Scattered T-Storms
39 - Scattered Rain
40 - Heavy Rain
41 - Scattered Snow
42 - Heavy Snow
43 - Windy/Snowy
44 - Partly Cloudy Day
45 – Scattered Showers Night
46 - Snowy Night
47 – Scattered T-Storms Night
(This post was last modified: 2009-12-21 22:23 by Sneeka.)
find quote
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #7
The list looks much better.

Thanks for your help
find quote
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #8
I get today a weather description in XBMC, their is no folder assigned

The weather description is:
Light Snow Grains.

For this weather no fanarts is show
find quote
Zippolighter Offline
Fan
Posts: 342
Joined: Dec 2006
Reputation: 0
Location: germany
Post: #9
Again a weather description that have no folder, so no Fanart is show

Light Snow Shower
find quote
ronie Offline
Team-Kodi Member
Posts: 9,150
Joined: Jan 2009
Reputation: 157
Post: #10
Zippolighter Wrote:Again a weather description that have no folder, so no Fanart is show

Light Snow Shower

i've checked the Debug Log in your trac ticket and this is what weather.com reports:

Quote:<cc>
<lsup>2/1/10 10:20 AM Local Time</lsup>
<obst>Dusseldorf, GERMANY</obst>
<tmp>0</tmp>
<flik>-4</flik>
<t>Light Snow Shower</t>
<icon>13</icon>

so xbmc should load fanart images from the '13' subfolder.
check if there are some images in this folder at your end.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote