From: kos Date: Fri, 10 Jan 2014 06:36:38 +0000 (+0900) Subject: [hbbtv] fixed a wrong red-button url bug. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=83bd87859ccc47a5511089ac69fa015cc9e29eaa [hbbtv] fixed a wrong red-button url bug. --- diff --git a/lib/python/Plugins/Extensions/HbbTV/plugin.py b/lib/python/Plugins/Extensions/HbbTV/plugin.py index 70a2ec3..5570433 100644 --- a/lib/python/Plugins/Extensions/HbbTV/plugin.py +++ b/lib/python/Plugins/Extensions/HbbTV/plugin.py @@ -1108,8 +1108,10 @@ class HbbTVHelper(Screen, InfoBarNotifications): def getStartHbbTVUrl(self): url, self._profile = None, 0 if self._applicationList is not None: - self._profile = self._applicationList[0]["profile"] - url = self._applicationList[0]["url"] + for u in self._applicationList: + if u["control"] in (1, -1): + url = u["url"] + self._profile = u["profile"] if url is None: service = self._session.nav.getCurrentService() info = service and service.info()