Kodi Community Forum
New Weather properties - all weather info can now be set in any window - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: New Weather properties - all weather info can now be set in any window (/showthread.php?tid=41656)



New Weather properties - all weather info can now be set in any window - Nuka1195 - 2008-12-06

As of revision 16480, you may now display all weather info in any window. you may also use thes properties in the weather window instead of id="#"

Accessing them from another window include "Weather" for the window:
<info>Window(Weather).Property(Current.FeelsLike)</info>


List of properties:
PHP Code:
#id,    property
10, <info>Window.Property(Location)</info>
11, <info>Window.Property(Updated)</info>
21, <info>Window.Property(Current.ConditionIcon)</info>
22, <info>Window.Property(Current.Condition)</info>
23, <info>Window.Property(Current.Temperature)</info>
24, <info>Window.Property(Current.FeelsLike)</info>
25, <info>Window.Property(Current.UVIndex)</info>
26, <info>Window.Property(Current.Wind)</info>
27, <info>Window.Property(Current.DewPoint)</info>
28, <info>Window.Property(Current.Humidity)</info>
<
info>Window.Property(Current.FanartCode)</info>
Day0
31
, <info>Window.Property(Day0.Title)</info>
32, <info>Window.Property(Day0.HighTemp)</info>
33, <info>Window.Property(Day0.LowTemp)</info>
34, <info>Window.Property(Day0.Outlook)</info>
35, <info>Window.Property(Day0.OutlookIcon)</info>
<
info>Window.Property(Day0.FanartCode)</info>
Day1
41
, <info>Window.Property(Day1.Title)</info>
42, <info>Window.Property(Day1.HighTemp)</info>
43, <info>Window.Property(Day1.LowTemp)</info>
44, <info>Window.Property(Day1.Outlook)</info>
45, <info>Window.Property(Day1.OutlookIcon)</info>
<
info>Window.Property(Day1.FanartCode)</info>
Day2
51
, <info>Window.Property(Day2.Title)</info>
52, <info>Window.Property(Day2.HighTemp)</info>
53, <info>Window.Property(Day2.LowTemp)</info>
54, <info>Window.Property(Day2.Outlook)</info>
55, <info>Window.Property(Day2.OutlookIcon)</info>
<
info>Window.Property(Day2.FanartCode)</info>
Day3
61
, <info>Window.Property(Day3.Title)</info>
62, <info>Window.Property(Day3.HighTemp)</info>
63, <info>Window.Property(Day3.LowTemp)</info>
64, <info>Window.Property(Day3.Outlook)</info>
65, <info>Window.Property(Day3.OutlookIcon)</info>
<
info>Window.Property(Day3.FanartCode)</info



- Nuka1195 - 2009-01-05

new labels added


Weather 'FanArt' Backdrop support also added to XBMC - Eye candy galore! - Gamester17 - 2009-01-06

I thought that I might as well also here link to semi-related threads discussing the new Weather 'FanArt' Backdrop support that too has been added to XBMC SVN very recently:

Weather 'FanArt' Backdrops (based on current weather conditions):
http://forum.xbmc.org/showthread.php?tid=40709

Theme change on-the-fly (variables based on date and time of the day, weather, etc.):
http://forum.xbmc.org/showthread.php?tid=27354

Weather FanArt Pack (Backdrops with different weather conditions):
http://forum.xbmc.org/showthread.php?tid=41650

All used together are capable of giving an additional 'WOW' factor to any skin for XBMC Cool


- joebrady - 2009-01-06

Is this something that has to be set up by the skinner, it is it user controlled as some of the other fanart is?


- Nuka1195 - 2009-01-06

the last link gamester posted should have instructions. or at least one of those links does.