コード例 #1
0
ファイル: uktv.py プロジェクト: whufclee/XBMC-Python
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
コード例 #2
0
ファイル: hdtv.py プロジェクト: Josh5/Dixie-Deans-XBMC-Repo
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"ࠫࡕࡲࡵࡨ࡫ࡱࠤࡊࡸࡲࡰࡴࠪࢯ")}
コード例 #3
0
ファイル: uktv.py プロジェクト: Quihico/repository.spartacus
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
コード例 #4
0
ファイル: iptv.py プロジェクト: noobsandnerds/noobsandnerds
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"ࠧࡑ࡮ࡸ࡫࡮ࡴࠠࡆࡴࡵࡳࡷ࠭ࣇ")}
コード例 #5
0
ファイル: iptv.py プロジェクト: whufclee/XBMC-Python
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"ࠧࡑ࡮ࡸ࡫࡮ࡴࠠࡆࡴࡵࡳࡷ࠭ࣇ")}
コード例 #6
0
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"ࠪࡔࡱࡻࡧࡪࡰࠣࡉࡷࡸ࡯ࡳࠩࢠ")}
コード例 #7
0
ファイル: uktv.py プロジェクト: noobsandnerds/noobsandnerds
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"࠭ࡐ࡭ࡷࡪ࡭ࡳࠦࡅࡳࡴࡲࡶ॒ࠬ")}
コード例 #8
0
ファイル: uktv.py プロジェクト: whufclee/XBMC-Python
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"࠭ࡐ࡭ࡷࡪ࡭ࡳࠦࡅࡳࡴࡲࡶ॒ࠬ")}
コード例 #9
0
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()
コード例 #10
0
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
コード例 #11
0
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