2014-10-26, 21:38
Pretty easy to get ronie's new weather addon working with MQ5.
Warning - this involves modding some skin files, so make sure you back them up first !!!
There are only three files to alter. Firstly, "Home.xml" - I just changed line 880 to read
Basically, I changed the weather.ozweather to weather.openweathermap.extended.
You need to make the same change in "IncludesMenuWidgets.xml". Change line 38126 to read
Then again in "IncludesVariables.xml" Change lines 3289 & 3290 to read
Thanks to Wanilton for pointing out I had missed this part out !!
Reload your skin/restart XBMC and your weather should work properly.
Note though that maps don't work - I'll look into that later and see if I can work out what needs changing.
Warning - this involves modding some skin files, so make sure you back them up first !!!
There are only three files to alter. Firstly, "Home.xml" - I just changed line 880 to read
Code:
<animation effect="slide" start="0,0" end="-75,0" condition="![StringCompare(Weather.Plugin,weather.openweathermap.extended) | StringCompare(Weather.Plugin,weather.worldweatheronline) | StringCompare(Weather.Plugin,weather.wunderground) | StringCompare(Weather.Plugin,weather.yahoo)]">Conditional</animation>
Basically, I changed the weather.ozweather to weather.openweathermap.extended.
You need to make the same change in "IncludesMenuWidgets.xml". Change line 38126 to read
Code:
<visible>StringCompare(Container(9000).ListItem.Property(id),weather) + Window.IsVisible(Home) + [StringCompare(Weather.Plugin,weather.openweathermap.extended) | StringCompare(Weather.Plugin,weather.worldweatheronline) | StringCompare(Weather.Plugin,weather.wunderground) | StringCompare(Weather.Plugin,weather.yahoo)]</visible>
Then again in "IncludesVariables.xml" Change lines 3289 & 3290 to read
Code:
<value condition="[StringCompare(Weather.Plugin,weather.openweathermap.extended) | StringCompare(Weather.Plugin,weather.worldweatheronline) | StringCompare(Weather.Plugin,weather.wunderground) | StringCompare(Weather.Plugin,weather.yahoo)]">[COLOR=$VAR[value_headercolor]]$INFO[Weather.Temperature][/COLOR][COLOR=50FFFAF0] | [/COLOR]$INFO[Window(Weather).Property(Current.Condition)][COLOR=50FFFAF0] | [/COLOR]$INFO[System.Date][COLOR=50FFFAF0] | [/COLOR][COLOR=$VAR[value_headercolor]]$INFO[System.Time][/COLOR]</value>
<value condition="![StringCompare(Weather.Plugin,weather.openweathermap.extended) | StringCompare(Weather.Plugin,weather.worldweatheronline) | StringCompare(Weather.Plugin,weather.wunderground) | StringCompare(Weather.Plugin,weather.yahoo)]">[COLOR=$VAR[value_headercolor]]$INFO[System.Time][/COLOR]</value>
Thanks to Wanilton for pointing out I had missed this part out !!
Reload your skin/restart XBMC and your weather should work properly.
Note though that maps don't work - I'll look into that later and see if I can work out what needs changing.