fix bug of setting orgid.
authorkos <kos@dev3>
Fri, 31 Aug 2012 15:41:21 +0000 (00:41 +0900)
committerkos <kos@dev3>
Fri, 31 Aug 2012 15:41:21 +0000 (00:41 +0900)
lib/python/Plugins/Extensions/HbbTV/plugin.py

index 56e6b90..483cd41 100644 (file)
@@ -682,7 +682,7 @@ class HbbTVHelper(Screen):
                        orgid   = 0
                        namelen = len(name)
                        for x in info.getInfoObject(iServiceInformation.sHBBTVUrl):
                        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)
                                        orgid = x[3]
                                        break
                        setChannelInfo(sid, onid, tsid, name, orgid)