Kodi Community Forum

Full Version: Weather refresh button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
<item id="1">
<description>refresh</description>
<label>refresh data</label>
<onclick>Weather.Refresh</onclick>
</item>    

<item id="2">
<description>next location</description>
<label>next location</label>
<onclick>Weather.LocationNext</onclick>
</item>

This don't seem to work and in every skin I look into there is no <onclick> tag just the id="2" on the button for weather refresh. How do I make this work?

This is on the home menu.
This was added after dharma so You can't use it in stable release currently. I also updated wiki page to contain note about it.
Yeah I see that in the wiki now Big Grin So how do you do this in dharma?
it won't work on dharma, but if you run a nightly build that should work just fine.
So there is no way to put a refresh button for weather on home screen in dharma?

Btw, a little bit off-topic but is it safe to start using nightlies now without having to deal with crashes and things all the time, are Eden almost done I mean?

I'm doing a mod for Fusion and maybe it is unnessecary to work in Dharma?
Try using SendClick?

Refresh -

PHP Code:
SendClick(weather,2

Change Location -

PHP Code:
SendClick(weather,3
Nope that didn't work either, maybe it's better to work in Pre-Eden, is it possible to install XBMC portable at some random location so it don't interfere with my current stable installation?