Page 1 of 1
can eventghost pass information back and forth between...
Posted: Wed Sep 09, 2009 5:56 pm
by Fiasco
can eventghost running on one machine forward requests/return info from eventghost running on another machine?
Re: can eventghost pass information back and forth between...
Posted: Wed Sep 09, 2009 8:16 pm
by Livin
I believe this is done used Network Event plugins - not positive
Re: can eventghost pass information back and forth between...
Posted: Wed Sep 09, 2009 9:40 pm
by Fiasco
I'm running into a big problem with my remote.
There are 5 XBMC servers, each running eventghost and the lutron homeworks processors.
I want to be able to load data from any given eventghost in one interface on my iphone.
The problem is that javascript/browsers won't let you load (using XMLHttpRequest function) a page from any server other then the one that the page you are viewing originated on.
It's really pissing me off!
Re: can eventghost pass information back and forth between...
Posted: Thu Sep 10, 2009 4:21 am
by Fiasco
I ended up installing apache and activeperl on the main XBMC/Eventghost server and wrote a quick perl script to act as a proxy to get around the above problem.
Re: can eventghost pass information back and forth between...
Posted: Thu Sep 10, 2009 6:59 pm
by damage
had a similar problem recently and used mod_rewrite in apache.
http://doghouselabs.blogspot.com/2009/0 ... olved.html
Re: can eventghost pass information back and forth between...
Posted: Sat Sep 12, 2009 8:54 pm
by Fiasco
I'll have to try that out. Looks to be a lighter weight solution the having perl act as a proxy
Re: can eventghost pass information back and forth between...
Posted: Wed Sep 16, 2009 2:48 pm
by Fiasco
damage you rock. That worked perfectly and it greatly accelerated the load time of my remote screens.
The only issue I ran into was variable updates. For example, with lutron lighting controls I push a virtual button on my remote then make a call to the lutron processor for the buttons LED state. I had to put a setTimeout function (200ms) on the call to the LED State update because Apache was returning a 200 (ready) too fast and I was getting out of date LED info.
Sometimes it was taking my remote from 25-40 seconds to load up and now it takes 5 tops.
Re: can eventghost pass information back and forth between...
Posted: Thu Sep 17, 2009 4:45 pm
by damage
glad i could help
Re: can eventghost pass information back and forth between...
Posted: Tue Sep 22, 2009 5:35 pm
by Fiasco
Got an apache ? for you damage.
Can I set apache to automagically change the extension on a file before serving it.
The thumbnails on XBMC have a .tbn extension. I would like to be able to request 1323232.jpg and have apache find and return 1323232.jpg
Re: can eventghost pass information back and forth between...
Posted: Tue Sep 22, 2009 5:49 pm
by Fiasco
figured it out (mime type) works like a champ now.