Today I´ve made some additional tests with HBBTV on my unok4se. I told you I see a delay in the reaction of remote control keys after switching to an HBBTV channel.
The reason is that the hbbtc plugin gets an callback from channelswitching if hbbtv is on that channel, The plugin would like to detect the hbbt items to build the menu entries.
But this action blocks enigma
Now I have made some code changes to the /usr/lib/enigma2/python/Plugins/Extensions/WebkitHbbTV/plugin,py. My idea was that detecting the hbbt items for build to menu entries is only need if a user would like to use the hbbtv. After the code changes there is no delay by using the box in normal mode. But if I press the blue key for the menu hbbt or long the red key the hbbty plugin now scans the channel for the hbbts items and build the menu entries. That works much better and for me know ok.
Here are the lines which I have changed. I´ve comment out the get:autostart:application() that produces the delay by every channel switch
def _cb_ait_detected(self):
vbcfg.g_channel_info = None
self._applicationList = None
# self._app_info = self.get_autostart_application()
vbcfg.DEBUG("detected AIT")
and
here the line 2,3,4 are new
1 def menu_hbbtv_applications(self):
2 vbcfg.g_channel_info = None
3 self._applicationList = None
4 self._app_info = self.get_autostart_application()
5 applications = []
6 if self._applicationList is not None:
7 for x in self._applicationList:
8 applications.append((x["name"], x))
9 else:
10 applications.append((_("No detected HbbTV applications."), None))
11 self.session.openWithCallback(self.start_application_selected, ChoiceBox, title=_("Please choose an HbbTV application."), list=applications)
if you like you can merge this changes to you git
Edited by anudanan, 30 December 2018 - 19:59.
Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX