示例#1
0
文件: Dizi1.py 项目: noba3/KoTos
def main():
    try:
        html = xbmctools.sifre()
        name = __settings__.getSetting("Name")
        login = __settings__.getSetting("Username")
        password = __settings__.getSetting("password")
        match = re.compile('<!-- D1(.*?)-->').findall(html)
        for web in match:
            web = xbmctools.angel(base64.b64decode(web))
            tr = re.compile('<link>(.*?)</link>').findall(web)
            for url in tr:
                xbmctools.addDir(
                    fileName,
                    '[COLOR red][B]>>>[/B][/COLOR] [COLOR orange][B]Arama/Search[/B][/COLOR]',
                    "Arama()", "", "",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')
                xbmctools.addDir(
                    fileName,
                    '[COLOR blue][B]>>[/B][/COLOR] [COLOR yellow][B]Enson Eklenen Diziler [/B][/COLOR]',
                    "Yeni(url)", url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')
                xbmctools.addDir(
                    fileName,
                    '[COLOR blue][B]>>[/B][/COLOR] [COLOR lightblue][B]Yerli Diziler Hepsi[/B][/COLOR]',
                    "Kategoriler()", url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')
                xbmctools.addDir(
                    fileName,
                    '[COLOR blue][B]>>[/B][/COLOR] [COLOR red][B]Yeni Yerli Diziler [/B][/COLOR]',
                    "YeniDiziler()", url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')
                xbmctools.addDir(
                    fileName,
                    '[COLOR blue][B]>>[/B][/COLOR] [COLOR orange][B]Eski Yerli Diziler [/B][/COLOR]',
                    "EskiDiziler()", url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')
                xbmctools.addDir(
                    fileName,
                    '[COLOR blue][B]>>[/B][/COLOR] [COLOR pink][B]Yarisma Programlari [/B][/COLOR]',
                    "Yarisma()", url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    'special://home/addons/plugin.video.magicTR/fanart.jpg')

    except:
        showMessage(
            "[COLOR blue][B]MagicTR[/B][/COLOR]",
            "[COLOR blue][B]IP Adresiniz Kitlendi[/B][/COLOR]",
            "[COLOR red][B]Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]"
        )
        dialog = xbmcgui.DialogProgress()
        dialog1 = xbmcgui.Dialog()
        dialog1.ok(
            '[COLOR red][B]Hesabiniz Kitlendi[/B][/COLOR]',
            '[COLOR yellow][B] Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]'
        )
        sys.exit()
示例#2
0
文件: Dizi1.py 项目: noba3/KoTos
def YeniDiziler():
        html = xbmctools.sifre()
        name=__settings__.getSetting("Name")
        login=__settings__.getSetting("Username")
        password=__settings__.getSetting("password")
        if name in html:
                match = re.compile('<!--YeniDizi(.*?)-->').findall(html)
                if match:
                        for web in match:
                                web=xbmctools.angel(base64.b64decode(str(web)))
                                tr=re.compile('<link>(.*?)</link><isim>(.*?)</isim><resim>(.*?)</resim>').findall(web)
                                for url,name,thumbnail in tr:
                                        name=fix.decode_fix(name)
                                        xbmctools.addDir(fileName,'[COLOR beige][B][COLOR orange]>[/COLOR]'+name+'[/B][/COLOR]', "Yeni(url)",url,thumbnail,thumbnail)
示例#3
0
文件: Dizi1.py 项目: noba3/KoTos
def Arama():
        html = xbmctools.sifre()
        name=__settings__.getSetting("Name")
        login=__settings__.getSetting("Username")
        password=__settings__.getSetting("password")
        if name in html:
                match = re.compile('<!-- D1(.*?)-->').findall(html)
                if match:
                        for web in match:
                                        web=xbmctools.angel(base64.b64decode(web))
                                        tr=re.compile('<link>(.*?)</link>').findall(web)
                                        for dizi1 in tr:
                                                keyboard = xbmc.Keyboard("", 'Search', False)
                                                keyboard.doModal()
                                                if keyboard.isConfirmed():
                                                    query = keyboard.getText()
                                                    url = (dizi1+'/?s='+query)
                                                    Yeni(url)
示例#4
0
文件: Dizi1.py 项目: noba3/KoTos
def Arama():
    html = xbmctools.sifre()
    name = __settings__.getSetting("Name")
    login = __settings__.getSetting("Username")
    password = __settings__.getSetting("password")
    if name in html:
        match = re.compile('<!-- D1(.*?)-->').findall(html)
        if match:
            for web in match:
                web = xbmctools.angel(base64.b64decode(web))
                tr = re.compile('<link>(.*?)</link>').findall(web)
                for dizi1 in tr:
                    keyboard = xbmc.Keyboard("", 'Search', False)
                    keyboard.doModal()
                    if keyboard.isConfirmed():
                        query = keyboard.getText()
                        url = (dizi1 + '/?s=' + query)
                        Yeni(url)
示例#5
0
文件: Dizi1.py 项目: noba3/KoTos
def Yarisma():
    html = xbmctools.sifre()
    name = __settings__.getSetting("Name")
    login = __settings__.getSetting("Username")
    password = __settings__.getSetting("password")
    if name in html:
        match = re.compile('<!--Yarisma(.*?)-->').findall(html)
        if match:
            for web in match:
                web = xbmctools.angel(base64.b64decode(str(web)))
                tr = re.compile(
                    '<link>(.*?)</link><isim>(.*?)</isim><resim>(.*?)</resim>'
                ).findall(web)
                for url, name, thumbnail in tr:
                    name = fix.decode_fix(name)
                    xbmctools.addDir(
                        fileName, '[COLOR beige][B][COLOR orange]>[/COLOR]' +
                        name + '[/B][/COLOR]', "Yeni(url)", url, thumbnail,
                        thumbnail)
示例#6
0
文件: Dizi1.py 项目: noba3/KoTos
def main():
        try:
                html = xbmctools.sifre()
                name=__settings__.getSetting("Name")
                login=__settings__.getSetting("Username")
                password=__settings__.getSetting("password")
                match = re.compile('<!-- D1(.*?)-->').findall(html)
                for web in match:
                        web=xbmctools.angel(base64.b64decode(web))
                        tr=re.compile('<link>(.*?)</link>').findall(web)
                        for url in tr:
                                xbmctools.addDir(fileName,'[COLOR red][B]>>>[/B][/COLOR] [COLOR orange][B]Arama/Search[/B][/COLOR]', "Arama()","","",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                                xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR yellow][B]Enson Eklenen Diziler [/B][/COLOR]', "Yeni(url)",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                                xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR lightblue][B]Yerli Diziler Hepsi[/B][/COLOR]', "Kategoriler()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                                xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR red][B]Yeni Yerli Diziler [/B][/COLOR]', "YeniDiziler()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                                xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR orange][B]Eski Yerli Diziler [/B][/COLOR]', "EskiDiziler()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                                xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR pink][B]Yarisma Programlari [/B][/COLOR]', "Yarisma()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                      
        except:
                showMessage("[COLOR blue][B]MagicTR[/B][/COLOR]","[COLOR blue][B]IP Adresiniz Kitlendi[/B][/COLOR]","[COLOR red][B]Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]")
                dialog = xbmcgui.DialogProgress()
                dialog1 = xbmcgui.Dialog()
                dialog1.ok('[COLOR red][B]Hesabiniz Kitlendi[/B][/COLOR]','[COLOR yellow][B] Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]')
                sys.exit()
示例#7
0
文件: Sinema1.py 项目: noba3/KoTos
# -*- coding: utf-8 -*-
示例#8
0
文件: Sinema1.py 项目: noba3/KoTos
# -*- coding: utf-8 -*-