Exemple #1
0
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()
Exemple #2
0
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)
Exemple #3
0
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)
Exemple #4
0
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)
Exemple #5
0
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)
Exemple #6
0
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()
Exemple #7
0
# -*- coding: utf-8 -*-
Exemple #8
0
# -*- coding: utf-8 -*-