def getURL(url): if dixie.validTime(SETTING, 60 * 60 * 24): l1l1l1l1 = json.load(open(PATH)) message = l1lll1(u"ࠩࡏࡳࡩࡩࠣࡳࡺࠡࡵࡨࡶࡻࡲࠢࡒࡲࡪࠦࡰࡨࡲࡹࠦࡰࡧࡤࡷࡪ࠴ࠧह") dixie.notify(message) else: l1l1l1l1 = l1lll1llll(url) l1ll11111(SETTING) stream = url.split(l1lll1(u"ࠪ࠾ࠬऺ"), 1)[-1].lower() try: result = l1l1l1l1[l1lll1(u"ࠫࡷࡳࡶࡷࠫऻ")] l11l11l1 = result[l1lll1(u"ࠬࡩࡧࡶ़ࠫ")] except Exception as e: l1l1lllll(e) return None for file in l11l11l1: l1ll111ll = file[l1lll1(u"࠭ࡢࡤࡨࡰࠬऽ")] l1ll111ll = l1ll111ll.replace(l1lll1(u"ࠧࠡࠢࠪा"), l1lll1(u"ࠨࠢࠪि")).replace( l1lll1(u"ࠩࠣ࠴ࡉࡏࡍࡑࡕࡡࠬी"), l1lll1(u"ࠪ࠴ࡉࡏࡍࡑࡕࡡࠬु")) l1ll1111l = l1ll111ll.rsplit(l1lll1(u"ࠫࡠ࠵ࡃࡐࡎࡒࡖࡢ࠭ू"), 1)[0].split(l1lll1(u"ࠬࡡࡃࡐࡎࡒࡖࠥࡽࡨࡪࡶࡨࡡࠬृ"), 1)[-1] if stream == l1ll1111l.lower(): return file[l1lll1(u"࠭ࡦࡪࡨࠫॄ")] return None
def l1ll111ll(url): l1lll11l = l1lll1( u"ࠨࡽࠥࡸࡵࡳࡲࡦࠦࠨ࠲࠲ࠥ࠰ࠥࠨࡦࡶࡳࡩࠨ࠺ࠣࡈࡰࡪࡹࡈࡧࡷࡈࡸࡥࡤࡶࡲࡶࡾࠨࠬࠡࠤࡳࡥࡷࡧࡴࠤ࠽ࡿࠧࡪࡩࡳࡧࡦࡸࡴࡸࡹࠣ࠼ࠥࡴࡱࡻࡧࡪࡰ࠽࠳࠴ࡶࡶࡩࡲ࠳ࡼࡩࡥࡧࡲ࠲ࡄࡅࡀ࠱ࡂࡥࡨࡺࡩࡰࡰࡀࡱࡦࡠࡷࡹࠬࡴࡪࡶࡩࡂࠬࡵࡳࡀࠦࢂ࠲ࠠࠣࡧࠦࠦ࠱ࡾࠩ࢞" ) l1ll11l11 = l1lll1( u"ࠩࡾࠦࡹࡴࡳࡧࠧࡀࠢ࠳࠰࠳ࠦ࠱ࠦࠢࡧࡷࡴࡪࠢ࠻ࠤࡉࡱࡳࡉࡨࡸࡉࡲࡦࡥࡷࡳࡷࡿࠢ࠭ࠢࠥࡴࡦࡸࡡࡵࠥ࠾ࢀࠨࡤࡪࡴࡨࡧࡹࡵࡲࡺࠤ࠽ࠦࡵࡲࡵࡨࡱ࠾࠴࠵ࡰࡷࡪࡳ࠴ࡶࡪࡦࡨࡳ࠳ࡅࡀࡁ࠲ࡃࡦࡩࡴࡪࡱࡱࡁࡱࡶࡦࡶࡹࡣࡦࡲࠧࡶࡸࡱ࠽ࡂࡨࡡࡰࡨࡰࡸࠬࡵࡳࡀࠦࢂ࠲ࠠࠣࡧࠦࠦ࠱ࡾࠩ࢟" ) if url.startswith(l1lll1(u"ࠪࡌࡉ࡚ࡖ࠻ࠩࢠ")): l1lll11l = l1lll11l.replace(l1lll1(u"ࠫࡄࡅࡀࠩࢡ"), l1lll1(u"ࠬࡤࡵࡸࠪࢢ")) l1ll11l11 = l1ll11l11.replace(l1lll1(u"࠭ࡀࡁࡂࠫࢣ"), l1lll1(u"ࠧࡩࡦࡷࡺࠬࢤ")) if url.startswith(l1lll1(u"ࠨࡊࡇࡘ࡛࠸࠺ࠨࢥ")): l1lll11l = l1lll11l.replace(l1lll1(u"ࠩࡂࡃࡄࡅࠧࢦ"), l1lll1(u"ࠪࡶࡺࡿࡡࡪࡲࡷࡺࠬࢧ")) l1ll11l11 = l1ll11l11.replace(l1lll1(u"ࠫࡄࡅࡀࠩࢨ"), l1lll1(u"ࠬࡸࡵࡺࡣࡴࡹࡼࠧࢩ")) try: message = l1lll1(u"࠭ࡌࡰࡩࡪࡳࠠࡪࡰࡷࡳࠥࡹࡥࡳࡸࡨࡶ࠳ࠦࡏࡧࠣࡱࡴࡳࡥࡶࠣࡴࡱࡡࡴࡧ࠱ࠫࢪ") dixie.notify(message) dixie.ShowBusy() xbmc.executeJSONRPC(l1lll11l) l1l1l11l = xbmc.executeJSONRPC(l1ll11l11) dixie.CloseBusy() content = json.loads(l1l1l11l.decode(l1lll1(u"ࠧࡣࡷࡳ࠳࠱ࠨࢫ"), l1lll1(u"ࠨࡪࡲࡴࡸࡥࠨࢬ"))) json.dump(content, open(PATH, l1lll1(u"ࠩࡺࠫࢭ"))) return content except Exception as e: l1l1llll1(e) return {l1lll1(u"ࠪࡉࡷࡸࡳࠩࢮ"): l1lll1(u"ࠫࡕࡲࡵࡨࡱࠤࡊࡸࡲࡰࡴࠪࢯ")}
def getURL(url): if dixie.validTime(SETTING, 60 * 60 * 24): l1l1l1l1 = json.load(open(PATH)) message = l1lll1 (u"ࠩࡏࡳࡩࡩࠣࡳࡺࠡࡵࡨࡶࡻࡲࠢࡒࡲࡪࠦࡰࡨࡲࡹࠦࡰࡧࡤࡷࡪ࠴ࠧह") dixie.notify(message) else: l1l1l1l1 = l1lll1llll(url) l1ll11111(SETTING) stream = url.split(l1lll1 (u"ࠪ࠾ࠬऺ"), 1)[-1].lower() try: result = l1l1l1l1[l1lll1 (u"ࠫࡷࡳࡶࡷࠫऻ")] l11l11l1 = result[l1lll1 (u"ࠬࡩࡧࡶ़ࠫ")] except Exception as e: l1l1lllll(e) return None for file in l11l11l1: l1ll111ll = file[l1lll1 (u"࠭ࡢࡤࡨࡰࠬऽ")] l1ll111ll = l1ll111ll.replace(l1lll1 (u"ࠧࠡࠢࠪा"), l1lll1 (u"ࠨࠢࠪि")).replace(l1lll1 (u"ࠩࠣ࠴ࡉࡏࡍࡑࡕࡡࠬी"), l1lll1 (u"ࠪ࠴ࡉࡏࡍࡑࡕࡡࠬु")) l1ll1111l = l1ll111ll.rsplit(l1lll1 (u"ࠫࡠ࠵ࡃࡐࡎࡒࡖࡢ࠭ू"), 1)[0].split(l1lll1 (u"ࠬࡡࡃࡐࡎࡒࡖࠥࡽࡨࡪࡶࡨࡡࠬृ"), 1)[-1] if stream == l1ll1111l.lower(): return file[l1lll1 (u"࠭ࡦࡪࡨࠫॄ")] return None
def l1l1lll11(): l1l1ll1ll = l1lll1(u"ࠩࡳࡰࡺࡩ࠰ࡹࡩࡵࡷࡥࡱࡱࡥࡳࠩࢻ") Addon = xbmcaddon.Addon(l1l1ll1ll) l1l1lll1l = Addon.getSetting('portal_mac_1') root = l1lll1(u"ࠫࡵࡲࡵࡨࡱ࠾࠴࠵ࡰࡷࡪࡳ࠴ࡶࡪࡦࡨࡳ࠳ࡹࡴࡢࡩࡷ࠵ࡨࡧࡱࡶࡪࡥࡢࡨࡁࡆࡲࠧࡲࡲࡶࡹࡧ࠾ࠩࢽ") query = (l1lll1( u"ࠬࢁࠢࡣࡰࡩࠧࡀࠠࠣࡐࡉࡔࡘࠨࠬࠡࠤࡳࡥࡷࡵࡣࠦࠦࠢࡧࡣࡷࡪࠨࠬࠡࠤࡸࡶࡱࠨ࠺ࠡࠤࡸࡹࡶ࠺࠰࠱ࡳࡳࡷࡺࡡ࠰ࡴࡹࡼࡰࡳࡹࡥࡹࡳࡦࡴࡹࡩࡷ࠴ࡴࡷࠤࠤࠧࡳࡡࡤࠤ࠽ࠤࠧࠫࡳࠣࠣࠦࡸࡲࡪࡣࠦࠦࡻࠣࡥࡸࡷࡹࡵࠣ࠼ࠣࡪࡦࡲࡳࡦࡿࠤࠧࡶࡡࡴࡵࡺࡳࡷࡪࠢ࠻ࠢࠥ࠴࠵࠶࠰ࠣࡿࠪࢾ") % l1l1lll1l) url = urllib.quote_plus(query) l11l1 = root + url + l1lll1(u"࠭ࠦࡱࡧࡩࡂࡩࡨࡢࡰࡱࡩࡱࡹࠦࡨࡧࡱࡶࡪࡥࡩࡥ࠭ࠫࢿ") l1lll11l = (l1lll1( u"ࠧࡼࠤࡷࡴࡴࡲࡱࡥࠥ࠾ࠧ࠸࠱ࠤࠤࠧࡳࡥࡵࡪࡲࡨࠧࡀࠢࡇࡩࡸ࠴ࡇࡦࡶࡇࡷࡣࡵࡱࡵࡽࠧ࠲ࠠࠣࡲࡤࡶࡦࡳࡳࠣ࠼ࡾࠦࡩࡲࡦࡥࡷࡳࡷࡿࠢ࠻ࠤࡳࡰࡺࡩ࠼࠲࠳ࡵࡲࡵࡨࡱ࠲ࡻࡤࡦࡱ࠱ࡷࡹࡧࡧࡵࠦࢂ࠲ࠠࠣࡧࠦࠦ࠱ࡾࠩࣀ")) l1ll11l11 = ( l1lll1(u"ࠨࡽࠥࡸࡵࡳࡲࡦࠦࠨ࠲࠲ࠥ࠰ࠥࠨࡦࡶࡳࡩࠨ࠺ࠣࡈࡰࡪࡹࡈࡧࡷࡈࡸࡥࡤࡶࡲࡶࡾࠨࠬࠡࠤࡳࡥࡷࡧࡴࠤ࠽ࡿࠧࡪࡩࡳࡧࡦࡸࡴࡸࡹࠣ࠼ࠥࠩࡸࠨࡽ࠭ࠢࠥࡩࠨ࠺ࠡ࠳ࢀࠫࣁ") % l11l1) try: message = l1lll1(u"ࠩࡏࡳࡩࡩࠣࡳࡺࠡࡵࡨࡶࡻࡲࠢࡒࡲࡪࠦࡰࡨࡲࡹࠦࡰࡧࡤࡷࡪ࠴ࠧࣂ") dixie.notify(message) dixie.ShowBusy() xbmc.executeJSONRPC(l1lll11l) l1l1l11l = xbmc.executeJSONRPC(l1ll11l11) dixie.CloseBusy() content = json.loads(l1l1l11l.decode(l1lll1(u"ࠪࡹࡹ࠭࠹ࠩࣃ"), l1lll1(u"ࠫࡰࡴࡨࠫࣄ"))) json.dump(content, open(PATH, l1lll1(u"ࠬࡽࠧࣅ"))) return content except Exception as e: l1l1llll1(e) return {l1lll1(u"࠭ࡅࡳࡴࡲࡶࠬࣆ"): l1lll1(u"ࠧࡑࡸࡴࠠࡆࡴࡵࡳࡷ࠭ࣇ")}
def l1l1lll11(): l1l1ll1ll = l1lll1 (u"ࠩࡳࡰࡺࡩ࠰ࡹࡩࡵࡷࡥࡱࡱࡥࡳࠩࢻ") Addon = xbmcaddon.Addon(l1l1ll1ll) l1l1lll1l = Addon.getSetting('portal_mac_1') root = l1lll1 (u"ࠫࡵࡲࡵࡨࡱ࠾࠴࠵ࡰࡷࡪࡳ࠴ࡶࡪࡦࡨࡳ࠳ࡹࡴࡢࡩࡷ࠵ࡨࡧࡱࡶࡪࡥࡢࡨࡁࡆࡲࠧࡲࡲࡶࡹࡧ࠾ࠩࢽ") query = (l1lll1 (u"ࠬࢁࠢࡣࡰࡩࠧࡀࠠࠣࡐࡉࡔࡘࠨࠬࠡࠤࡳࡥࡷࡵࡣࠦࠦࠢࡧࡣࡷࡪࠨࠬࠡࠤࡸࡶࡱࠨ࠺ࠡࠤࡸࡹࡶ࠺࠰࠱ࡳࡳࡷࡺࡡ࠰ࡴࡹࡼࡰࡳࡹࡥࡹࡳࡦࡴࡹࡩࡷ࠴ࡴࡷࠤࠤࠧࡳࡡࡤࠤ࠽ࠤࠧࠫࡳࠣࠣࠦࡸࡲࡪࡣࠦࠦࡻࠣࡥࡸࡷࡹࡵࠣ࠼ࠣࡪࡦࡲࡳࡦࡿࠤࠧࡶࡡࡴࡵࡺࡳࡷࡪࠢ࠻ࠢࠥ࠴࠵࠶࠰ࠣࡿࠪࢾ") % l1l1lll1l) url = urllib.quote_plus(query) l11l1 = root + url + l1lll1 (u"࠭ࠦࡱࡧࡩࡂࡩࡨࡢࡰࡱࡩࡱࡹࠦࡨࡧࡱࡶࡪࡥࡩࡥ࠭ࠫࢿ") l1lll11l = (l1lll1 (u"ࠧࡼࠤࡷࡴࡴࡲࡱࡥࠥ࠾ࠧ࠸࠱ࠤࠤࠧࡳࡥࡵࡪࡲࡨࠧࡀࠢࡇࡩࡸ࠴ࡇࡦࡶࡇࡷࡣࡵࡱࡵࡽࠧ࠲ࠠࠣࡲࡤࡶࡦࡳࡳࠣ࠼ࡾࠦࡩࡲࡦࡥࡷࡳࡷࡿࠢ࠻ࠤࡳࡰࡺࡩ࠼࠲࠳ࡵࡲࡵࡨࡱ࠲ࡻࡤࡦࡱ࠱ࡷࡹࡧࡧࡵࠦࢂ࠲ࠠࠣࡧࠦࠦ࠱ࡾࠩࣀ")) l1ll11l11 = (l1lll1 (u"ࠨࡽࠥࡸࡵࡳࡲࡦࠦࠨ࠲࠲ࠥ࠰ࠥࠨࡦࡶࡳࡩࠨ࠺ࠣࡈࡰࡪࡹࡈࡧࡷࡈࡸࡥࡤࡶࡲࡶࡾࠨࠬࠡࠤࡳࡥࡷࡧࡴࠤ࠽ࡿࠧࡪࡩࡳࡧࡦࡸࡴࡸࡹࠣ࠼ࠥࠩࡸࠨࡽ࠭ࠢࠥࡩࠨ࠺ࠡ࠳ࢀࠫࣁ") % l11l1) try: message = l1lll1 (u"ࠩࡏࡳࡩࡩࠣࡳࡺࠡࡵࡨࡶࡻࡲࠢࡒࡲࡪࠦࡰࡨࡲࡹࠦࡰࡧࡤࡷࡪ࠴ࠧࣂ") dixie.notify(message) dixie.ShowBusy() xbmc.executeJSONRPC(l1lll11l) l1l1l11l = xbmc.executeJSONRPC(l1ll11l11) dixie.CloseBusy() content = json.loads(l1l1l11l.decode(l1lll1 (u"ࠪࡹࡹ࠭࠹ࠩࣃ"), l1lll1 (u"ࠫࡰࡴࡨࠫࣄ"))) json.dump(content, open(PATH,l1lll1 (u"ࠬࡽࠧࣅ"))) return content except Exception as e: l1l1llll1(e) return {l1lll1 (u"࠭ࡅࡳࡴࡲࡶࠬࣆ") : l1lll1 (u"ࠧࡑࡸࡴࠠࡆࡴࡵࡳࡷ࠭ࣇ")}
def l1l1ll1l1(url): try: message = l1lll1(u"ࠨࡎࡲࡨࠢࡲࡹࡵࠠࡴࡧࡵࡺࡪࡸࠡࡑࡱࡩࠥࡳࡧࡱࡸࠥࡶࡦࡣࡶࡩ࠳࠭࢞") dixie.notify(message) dixie.ShowBusy() l1l1l1l1 = l1ll1111l(url) dixie.CloseBusy() return l1l1l1l1 except Exception as e: l1l1ll111(e) return {l1lll1(u"ࠩࡈࡶࡷࡵࡲࠨ࢟"): l1lll1(u"ࠪࡔࡱࡻࡧࡪࡰࠣࡉࡷࡸࡳࠩࢠ")}
def l1lll1llll(url): l1l1ll1ll = l1lll1ll11(url) Addon = xbmcaddon.Addon(l1l1ll1ll) username = Addon.l1l1l11l(l1lll1(u"ࠧࡣࡶࡹࡹࡧࡪࡢࡰࡱ࠭ॅ")) password = Addon.l1l1l11l(l1lll1(u"ࠨࡵࡤࡰࡦࡹࡣࠪॆ")) l1lll1ll1l = l1lll1(u"ࠩࡳࡰࡺࡩ࠼࠲࠳ࠬे") + l1l1ll1ll l1lll1l111 = l1lll1(u"ࠪ࠳ࡄࡧࡣࡵࡲࡲࡂࡹࡴࡳࡧࡤࡱࡤࡼࡩࡥࡧࡲࠪࡪࡾࡴࡳࡣࠩࡴࡦࡥࠧࡲࡳࡹࠬࡴࡩࡷࡰࡦࡳࡧࡩࠩࡸࡺࡦࡄࡰࡱࠬࡵࡳࡀࠫै") l1lll1l1ll = l1llll1111() l1l11111 = l1lll1ll1l + l1lll1l111 + l1lll1l1ll l1lll1lll1 = ( l1lll1(u"ࠫࡺࡹࡥࡳࡰࡤࡱࡪࡃࠧॉ") + username + l1lll1(u"ࠬࠬࡰࡢࡵࡶࡻࡴࡸࡤ࠾ࠩॊ") + password + l1lll1(u"࠭ࠦࡵࡻࡳࡩࡂࡥࡵࡡࡻࡴࡶࡵࡩࡦࡳࡳࠧࡥࡤࡸࡤࡤ࠾࠲ࠪो") ) l1lll1l1 = l1lll1ll1l + l1lll1(u"ࠧ࠰ࡁࡤࡧࡹࡶࡩࡨࡻࡲࡪࡶࡼࡣࡨࡥࡤࠩࡩࡽࡺࡲࡢࠨࡳࡥࠦࡱࡲࡸࠫࡺࡨࡶࡥࡲࡦࠧࡶࡸࡱ࠽ࡍࡹࡩࠪ࠸࠰ࡕࡘࠩࡹࡷࡲࠧौ") query = l1l11111 + urllib.quote_plus(l1lll1lll1) l1lll1l11l = ( l1lll1(u"ࠨࡽࠥࡸࡵࡳࡲࡦࠦࠨ࠲࠲ࠥ࠰ࠥࠨࡦࡶࡳࡩࠨ࠺ࠣࡈࡰࡪࡹࡈࡧࡷࡈࡸࡥࡤࡶࡲࡶࡾࠨࠬࠡࠤࡳࡥࡷࡧࡴࠤ࠽ࡿࠧࡪࡩࡳࡧࡦࡸࡴࡸࡹࠣ࠼ࠥࠩࡸࠨࡽ࠭ࠢࠥࡩࠨ࠺ࠡ࠳ࢀ्ࠫ") % l1lll1l1 ) l1lll1l1l1 = ( l1lll1(u"ࠩࡾࠦࡹࡴࡳࡧࠧࡀࠢ࠳࠰࠳ࠦ࠱ࠦࠢࡧࡷࡴࡪࠢ࠻ࠤࡉࡱࡳࡉࡨࡸࡉࡲࡦࡥࡷࡳࡷࡿࠢ࠭ࠢࠥࡴࡦࡸࡡࡵࠥ࠾ࢀࠨࡤࡪࡴࡨࡧࡹࡵࡲࡺࠤ࠽ࠦࠪࡹࠢࡾࠣࠦࡪࠢ࠻ࠢ࠴ࢁࠬॎ") % query ) try: message = l1lll1(u"ࠪࡐࡴࡧࡪࡰࡪࠤࡴࡴࡰࠢࡶࡩࡷࡼࡥࡳ࠰ࠣࡓࡳࠠࡱࡰࡩࡳࡺࠠࡱࡨࡥࡸࠨॏ") dixie.notify(message) dixie.ShowBusy() xbmc.executeJSONRPC(l1lll1l11l) l1l1l1l1 = xbmc.executeJSONRPC(l1lll1l1l1) dixie.CloseBusy() content = json.loads(l1l1l1l1) json.dump(content, open(PATH, l1lll1(u"ࠫࡼ࠭ॐ"))) return content except Exception as e: l1l1lllll(e) return {l1lll1(u"ࠬࡋࡲࡳࡱࡵࠫ॑"): l1lll1(u"࠭ࡐࡷࡪࡳࠦࡅࡳࡴࡲࡶ॒ࠬ")}
def l1lll1llll(url): l1l1ll1ll = l1lll1ll11(url) Addon = xbmcaddon.Addon(l1l1ll1ll) username = Addon.l1l1l11l(l1lll1(u"ࠧࡣࡶࡹࡹࡧࡪࡢࡰࡱ࠭ॅ")) password = Addon.l1l1l11l(l1lll1(u"ࠨࡵࡤࡰࡦࡹࡣࠪॆ")) l1lll1ll1l = l1lll1(u"ࠩࡳࡰࡺࡩ࠼࠲࠳ࠬे") + l1l1ll1ll l1lll1l111 = l1lll1( u"ࠪ࠳ࡄࡧࡣࡵࡲࡲࡂࡹࡴࡳࡧࡤࡱࡤࡼࡩࡥࡧࡲࠪࡪࡾࡴࡳࡣࠩࡴࡦࡥࠧࡲࡳࡹࠬࡴࡩࡷࡰࡦࡳࡧࡩࠩࡸࡺࡦࡄࡰࡱࠬࡵࡳࡀࠫै") l1lll1l1ll = l1llll1111() l1l11111 = l1lll1ll1l + l1lll1l111 + l1lll1l1ll l1lll1lll1 = l1lll1(u"ࠫࡺࡹࡥࡳࡰࡤࡱࡪࡃࠧॉ") + username + l1lll1( u"ࠬࠬࡰࡢࡵࡶࡻࡴࡸࡤ࠾ࠩॊ") + password + l1lll1( u"࠭ࠦࡵࡻࡳࡩࡂࡥࡵࡡࡻࡴࡶࡵࡩࡦࡳࡳࠧࡥࡤࡸࡤࡤ࠾࠲ࠪो") l1lll1l1 = l1lll1ll1l + l1lll1( u"ࠧ࠰ࡁࡤࡧࡹࡶࡩࡨࡻࡲࡪࡶࡼࡣࡨࡥࡤࠩࡩࡽࡺࡲࡢࠨࡳࡥࠦࡱࡲࡸࠫࡺࡨࡶࡥࡲࡦࠧࡶࡸࡱ࠽ࡍࡹࡩࠪ࠸࠰ࡕࡘࠩࡹࡷࡲࠧौ" ) query = l1l11111 + urllib.quote_plus(l1lll1lll1) l1lll1l11l = (l1lll1( u"ࠨࡽࠥࡸࡵࡳࡲࡦࠦࠨ࠲࠲ࠥ࠰ࠥࠨࡦࡶࡳࡩࠨ࠺ࠣࡈࡰࡪࡹࡈࡧࡷࡈࡸࡥࡤࡶࡲࡶࡾࠨࠬࠡࠤࡳࡥࡷࡧࡴࠤ࠽ࡿࠧࡪࡩࡳࡧࡦࡸࡴࡸࡹࠣ࠼ࠥࠩࡸࠨࡽ࠭ࠢࠥࡩࠨ࠺ࠡ࠳ࢀ्ࠫ" ) % l1lll1l1) l1lll1l1l1 = (l1lll1( u"ࠩࡾࠦࡹࡴࡳࡧࠧࡀࠢ࠳࠰࠳ࠦ࠱ࠦࠢࡧࡷࡴࡪࠢ࠻ࠤࡉࡱࡳࡉࡨࡸࡉࡲࡦࡥࡷࡳࡷࡿࠢ࠭ࠢࠥࡴࡦࡸࡡࡵࠥ࠾ࢀࠨࡤࡪࡴࡨࡧࡹࡵࡲࡺࠤ࠽ࠦࠪࡹࠢࡾࠣࠦࡪࠢ࠻ࠢ࠴ࢁࠬॎ" ) % query) try: message = l1lll1(u"ࠪࡐࡴࡧࡪࡰࡪࠤࡴࡴࡰࠢࡶࡩࡷࡼࡥࡳ࠰ࠣࡓࡳࠠࡱࡰࡩࡳࡺࠠࡱࡨࡥࡸࠨॏ") dixie.notify(message) dixie.ShowBusy() xbmc.executeJSONRPC(l1lll1l11l) l1l1l1l1 = xbmc.executeJSONRPC(l1lll1l1l1) dixie.CloseBusy() content = json.loads(l1l1l1l1) json.dump(content, open(PATH, l1lll1(u"ࠫࡼ࠭ॐ"))) return content except Exception as e: l1l1lllll(e) return {l1lll1(u"ࠬࡋࡲࡳࡱࡵࠫ॑"): l1lll1(u"࠭ࡐࡷࡪࡳࠦࡅࡳࡴࡲࡶ॒ࠬ")}
def main(doLogin=True): dixie.CheckUsername() import message message.check() CheckChanXML() CheckSkin() CheckLogos() dixie.ShowBusy() import buggalo import gui buggalo.GMAIL_RECIPIENT = '*****@*****.**' try: if not dixie.validToRun(): dixie.notify('Failed to obtain a response from On-Tapp.TV') return CheckVersion() CheckSkinVersion() CheckLogoVersion() CheckIniVersion() CheckFilmOn() CheckForUpdate() CheckForChannels() dixie.log('****** OnTapp.TV - All OK *******') dixie.CloseBusy() xbmcgui.Window(10000).setProperty('OTT_RUNNING', 'True') xbmc.executebuiltin('XBMC.ActivateWindow(home)') w = gui.TVGuide() CopyKeymap() w.doModal() RemoveKeymap() del w xbmcgui.Window(10000).clearProperty('OTT_RUNNING') except Exception: buggalo.onExceptionRaised()
def main(doLogin=True): import message dixie.CheckUsername() dixie.ShowBusy() CheckChanXML() import gui try: if not dixie.validToRun(): dixie.CloseBusy() dixie.notify('Failed to obtain a response from On-Tapp.TV') return CheckPlugin() CheckVersion() CheckIniVersion() CheckFilmOn() CheckForUpdate() CheckForChannels() dixie.log('****** On-Tapp.EPG - All OK *******') message.check() dixie.CloseBusy() xbmcgui.Window(10000).setProperty('OTT_RUNNING', 'True') w = gui.TVGuide() CopyKeymap() w.doModal() RemoveKeymap() del w xbmcgui.Window(10000).clearProperty('OTT_RUNNING') xbmcgui.Window(10000).clearProperty('OTT_WINDOW') except Exception: raise