Пример #1
0
    pass
try:
    keyword = urllib.unquote_plus(params["keyword"])
except:
    pass

if mode is None: INDEX()
elif mode == 2: INDEXS()
elif mode == 3: INDEXM()
elif mode == 4: xbmc.executebuiltin('ActivateWindow(Videos, ' + url + ')')
elif mode == 5: ONELIST(page)
elif mode == 6: INDEXT()
elif mode == 7: INDEXW()
elif mode == 8: STREAMS()
elif mode == 9: utils.PlayStream(name, url)
elif mode == 10: watchxxxfree.WXFMain()
elif mode == 11: watchxxxfree.WXFList(url, page)
elif mode == 12: watchxxxfree.WXFCat(url)
elif mode == 13: watchxxxfree.WXFVideo(url, name, download)
elif mode == 14: watchxxxfree.WXFSearch(url, keyword)
elif mode == 15: watchxxxfree.WXFTPS(url)
elif mode == 16:
    addon.openSettings()
    watchxxxfree.WXFMain()
elif mode == 20:
    xtheatre.XTMain()
elif mode == 21:
    xtheatre.XTList(url, page)
elif mode == 22:
    xtheatre.XTCat(url)
elif mode == 23:
Пример #2
0
    INDEX()

elif mode == 2:
    INDEXS()
elif mode == 3:
    INDEXM()
elif mode == 4:
    print url
    xbmc.executebuiltin('ActivateWindow(Videos, ' + url + ')')
elif mode == 5:
    ONELIST(page)
elif mode == 6:
    INDEXT()

elif mode == 10:
    watchxxxfree.WXFMain()
elif mode == 11:
    watchxxxfree.WXFList(url, page)
elif mode == 12:
    watchxxxfree.WXFCat(url)
elif mode == 13:
    watchxxxfree.WXFVideo(url, name, download)
elif mode == 14:
    watchxxxfree.WXFSearch(url)
elif mode == 15:
    watchxxxfree.WXFTPS(url)
elif mode == 16:
    addon.openSettings()
    watchxxxfree.WXFMain()

elif mode == 20: