News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

web orbiter refresh

Started by cfernandes, March 06, 2014, 12:14:08 PM

Previous topic - Next topic

cfernandes

hello guys, already have a certain time that a situation bothers me, the refresh of the web orbiter, I have studied the code and saw that the function exists however it never happens unless manually.
I made a change in javascript and is now working.
I wonder if anyone else has this problem and if we could discuss with anyone who has more knowledge of the web orbiter which the impact of this change


Carlos

_if_

wow, that would be a great benefit!

uplink

#2
Quote from: cfernandes on March 06, 2014, 12:14:08 PMI made a change in javascript and is now working.

I hope I'm not asking for much, but... can we have that change posted here as well, so we can see it?

We may look like mind readers, but we are not :)

Thanks

EDIT:
Quote from: cfernandes on March 06, 2014, 12:14:08 PMI wonder if anyone else has this problem and if we could discuss with anyone who has more knowledge of the web orbiter which the impact of this change

That would be me BTW.

Each time this comes up I compare the Dianemo code with the LMCE code, and I don't see anything relevant that would prevent LMCE from refreshing. That's why I'm up in flames that you didn't write the slightest hint about what you did.

cfernandes

sorry for not sending my changes.

in my case is working on 10.04  including in security cameras via android orbiter


should be applied in weborbiter.js file in / var / www / lmce-admin / weborbiter


Carlos

uplink

Right... so what that says is that the problem is in the Proxy_Orbiter. It doesn't set the "anynews" response to "yes" when a new screen is generated.

What you did is to force a full image reload on each timeout - which might be OK on a LAN, but becomes strenuous on slower connections. The "anynews" flag is a small message by comparison.

I'll have to look in Orbiter and Proxy_Orbiter to figure out why that flag is not set to "yes" when the screen changes. That mechanism works fine in Dianemo.

uplink

OK... found the problem. Instead of "yes", I get "yes<LF>"... which of course doesn't match the test, so you don't get the refresh.

uplink


Marie.O

Thank you uplink and thank you cfernandez! This bug has been with us a LOOOOOONG time, and you two made it go away. New package is on its way, and should be in the repo sometime Friday.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

cfernandes

yes I'm very happy

thank you

Marie.O

new pluto-website-admin package is live in the repo
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

New update for 1004 as well. _IF_, i hope you like it.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

_if_

posde, did I ever mention that I love you?  ;D

thanks a lot, it's working perfectly!

IF

Marie.O

glad to be of help. feels good to be loved  ;D
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]