From c98df25121ca79d08a86c5dd8d7f740953f1a4a1 Mon Sep 17 00:00:00 2001 From: kos Date: Sat, 1 Sep 2012 00:41:21 +0900 Subject: [PATCH 1/1] fix bug of setting orgid. --- lib/python/Plugins/Extensions/HbbTV/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Plugins/Extensions/HbbTV/plugin.py b/lib/python/Plugins/Extensions/HbbTV/plugin.py index 56e6b90..483cd41 100644 --- a/lib/python/Plugins/Extensions/HbbTV/plugin.py +++ b/lib/python/Plugins/Extensions/HbbTV/plugin.py @@ -682,7 +682,7 @@ class HbbTVHelper(Screen): orgid = 0 namelen = len(name) for x in info.getInfoObject(iServiceInformation.sHBBTVUrl): - if x[0] == 1 : + if x[0] in (1, -1) : orgid = x[3] break setChannelInfo(sid, onid, tsid, name, orgid) -- 2.7.4