2009-07-10, 06:55
This let's you choose 4 day (default), 7 day, weekend or 36 hour forecasts for the home weather popup.
Requires the Weather.com Plus Plugin which you can get with the SVN Repo Installer.
...just don't forget to enable it in settings after installing it.
To use:
1. grab this package and copy folders into your aeon folder. http://xbmc-addons.googlecode.com/svn/pa...er_mod.zip
2. add this to font.xml.
3. add this to includes.xml
4. edit home.xml
5. edit customisation.xml after id="500"
6. add these to strings.xml
PS! This uses the new Weather Plugin API in XBMC and the Weather.com Plus Plugin for that API.
Requires the Weather.com Plus Plugin which you can get with the SVN Repo Installer.
...just don't forget to enable it in settings after installing it.
To use:
1. grab this package and copy folders into your aeon folder. http://xbmc-addons.googlecode.com/svn/pa...er_mod.zip
2. add this to font.xml.
PHP Code:
<!-- Widgets -->
<font>
<name>Font_WidgetLarge</name>Font_WeatherTempSmallHigh
<filename>aeon_title.ttf</filename>
<size>50</size>
</font>
<font>
<name>Font_WidgetMedium</name>Font_WeatherPrecip
<filename>aeon_title.ttf</filename>
<size>45</size>
</font>
<font>
<name>Font_WidgetSmall</name>Font_WeatherTempSmallLow
<filename>aeon_title.ttf</filename>
<size>40</size>
</font>
PHP Code:
<include file="Widget_Weather.xml" />
PHP Code:
<include condition="!StringCompare(Weather.Plugin,weather.com plus)">Objects_WeatherPopup</include>
<include condition="StringCompare(Weather.Plugin,weather.com plus)">Widget_Weather</include>
PHP Code:
<control type="radiobutton" id="501">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31254</label>
<onclick>Skin.Reset(WeatherWidget36Hour)</onclick>
<onclick>Skin.Reset(WeatherWidgetWeekend)</onclick>
<onclick>Skin.Reset(WeatherWidget7Day)</onclick>
<selected>[!Skin.HasSetting(WeatherWidget36Hour) + !Skin.HasSetting(WeatherWidgetWeekend) + !Skin.HasSetting(WeatherWidget7Day)] | !StringCompare(Weather.Plugin,weather.com plus)</selected>
<enable>!Skin.HasSetting(noweatherpopup)</enable>
</control>
<control type="radiobutton" id="507">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31257</label>
<onclick>Skin.SetBool(WeatherWidget7Day)</onclick>
<onclick>Skin.Reset(WeatherWidget36Hour)</onclick>
<onclick>Skin.Reset(WeatherWidgetWeekend)</onclick>
<selected>Skin.HasSetting(WeatherWidget7Day)</selected>
<enable>!Skin.HasSetting(noweatherpopup) + StringCompare(Weather.Plugin,weather.com plus)</enable>
</control>
<control type="radiobutton" id="504">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31255</label>
<onclick>Skin.SetBool(WeatherWidget36Hour)</onclick>
<onclick>Skin.Reset(WeatherWidgetWeekend)</onclick>
<onclick>Skin.Reset(WeatherWidget7Day)</onclick>
<selected>Skin.HasSetting(WeatherWidget36Hour)</selected>
<enable>!Skin.HasSetting(noweatherpopup) + StringCompare(Weather.Plugin,weather.com plus)</enable>
</control>
<control type="radiobutton" id="505">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31256</label>
<onclick>Skin.SetBool(WeatherWidgetWeekend)</onclick>
<onclick>Skin.Reset(WeatherWidget36Hour)</onclick>
<onclick>Skin.Reset(WeatherWidget7Day)</onclick>
<selected>Skin.HasSetting(WeatherWidgetWeekend)</selected>
<enable>!Skin.HasSetting(noweatherpopup) + StringCompare(Weather.Plugin,weather.com plus)</enable>
</control>
PHP Code:
<string id="31254">- 4 DAY FORECAST</string>
<string id="31255">- 36 HOUR FORECAST</string>
<string id="31256">- WEEKEND FORECAST</string>
<string id="31257">- 7 DAY FORECAST</string>
<string id="31630">4 DAY</string>
<string id="31631">7 DAY</string>
<string id="31632">36 HOUR</string>
<string id="31633">WEEKEND</string>
<string id="31634">ALERT(S)</string>
PS! This uses the new Weather Plugin API in XBMC and the Weather.com Plus Plugin for that API.