Auto update of Weather

Got an idea, post it here

Auto update of Weather

Postby lar282 on Sun Sep 11, 2005 8:11 am

Should be simple to add a feature to auto update the weather every xx minutes. would make my wife very happy......
the original wehater plugin not the 3:rd party that is.

EDIT:Or the source code then I can change it myself!:EDIT

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Mon Sep 12, 2005 8:16 am

tried to write a plugin but I guess other plugins doesn't have access to plugin commands?
http://www.xlobby.com//forum/viewtopic.php?t=3547


so it's up to u Steven


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby sagitaz on Mon Sep 12, 2005 12:45 pm

if you use Xevent plugin, you can refresh what you want.

personaly i refresh weather ( all 1 hours ) , videos database ( 5am ) and music database (6am).

http://www.xlobby.com/forum/viewtopic.php?t=2446
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby lar282 on Mon Sep 12, 2005 12:51 pm

I actually tried that this morning but must have done something wrong.

I tested to just add an event that refresh all but xlobby blew up when the event fired? I read through the entire post but couldn't figure out what was going on. Are u using the latest sdk dll?
If I can do it through Xevent it would be great.

All I did was this
1/ downlaod plugin
2/ Pressed F2 and in your plugin I added a Trigger that ran once and did the update weahter(from the event on the left side).

it crashes!


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Mon Sep 12, 2005 1:10 pm

I have nooooooo clue why but I tried the Xevent again and now it works...
Wierd.Anyway thank u


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Mon Sep 12, 2005 6:35 pm

sagitaz wrote:if you use Xevent plugin, you can refresh what you want.

personaly i refresh weather ( all 1 hours ) , videos database ( 5am ) and music database (6am).

http://www.xlobby.com/forum/viewtopic.php?t=2446


I had it update the weather now every 1 hour and it only worked the first time. Haven't done any changes and haven't closed down xlobby. what happens is that all weather info gets wiped out but I can tell that it got updated? but there is no data!! Does this happen to u to? Do u have an extra command to refresh screen or anything like that?

I still think the weather plugin should have an auto update function, but for me it would be enough if the XEvent worked. So any help would be appriciated.

Regards Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Thank u Steven

Postby lar282 on Sat Oct 22, 2005 6:30 pm

I just saw that u updated the Xweather with update every xx min. THANK U.


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden