Beispiel #1
0
def GETSHORTS(url):
    link=OPEN_URL(url).replace('\n','').replace('\r','')
    match=re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"').findall(link)
    for name,url,iconimage,fanart,description,filetype in match:
        main.addHELPDir(name,url,'addshortcuts',iconimage,fanart,description,filetype)
                  
        main.AUTO_VIEW('movies')        
Beispiel #2
0
def GETSHORTS(url):
    link = OPEN_URL(url).replace('\n', '').replace('\r', '')
    match = re.compile(
        'name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"'
    ).findall(link)
    for name, url, iconimage, fanart, description, filetype in match:
        main.addHELPDir(name, url, 'addshortcuts', iconimage, fanart,
                        description, filetype)

        main.AUTO_VIEW('movies')
Beispiel #3
0
def STATUSCATEGORIES(url):
    link = OPEN_URL(url).replace('\n', '').replace('\r', '')
    match = re.compile(
        'name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"'
    ).findall(link)
    for name, url, iconimage, fanart, description, filetype in match:
        if 'status' in filetype:
            main.addHELPDir(name, url, 'addonstatus', iconimage, fanart,
                            description, filetype)
        elif 'getshorts' in filetype:
            main.add2HELPDir(name, url, 'getshorts', iconimage, fanart,
                             description, filetype)
        elif 'main' in filetype:
            main.addHELPDir(name, url, 'addoninstall', iconimage, fanart,
                            description, filetype)
        elif 'addrepo' in filetype:
            main.add2HELPDir(name, url, 'getrepolink', iconimage, fanart,
                             description, filetype)
        elif 'source' in filetype:
            main.addHELPDir(name, url, 'addsource', iconimage, fanart,
                            description, filetype)
        elif 'getvideo' in filetype:
            main.add2HELPDir(name, url, 'getvideolink', iconimage, fanart,
                             description, filetype)
            main.AUTO_VIEW('movies')
Beispiel #4
0
def GETVIDEOLINK(url):
    link=OPEN_URL(url).replace('\n','').replace('\r','')
    match=re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"').findall(link)
    for name,url,iconimage,fanart,description,filetype in match:
        if 'video' in filetype:
            main.addHELPDir(name,url,'getvideo',iconimage,fanart,description,filetype)
        elif 'youtube' in filetype:
           main.addHELPDir(name,url,'getvideo',iconimage,fanart,description,filetype)
        elif 'stream' in filetype:
           main.addHELPDir(name,url,'getvideo',iconimage,fanart,description,filetype)   
    

    main.AUTO_VIEW('movies')
Beispiel #5
0
def STATUSCATEGORIES(url):
          link=OPEN_URL(url).replace('\n','').replace('\r','')
          match=re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"').findall(link)
          for name,url,iconimage,fanart,description,filetype in match:
              if 'status' in filetype:
                 main.addHELPDir(name,url,'addonstatus',iconimage,fanart,description,filetype)
              elif 'getshorts' in filetype:
                 main.add2HELPDir(name,url,'getshorts',iconimage,fanart,description,filetype) 
              elif 'main' in filetype:
                    main.addHELPDir(name,url,'addoninstall',iconimage,fanart,description,filetype)
              elif 'addrepo' in filetype:
                    main.add2HELPDir(name,url,'getrepolink',iconimage,fanart,description,filetype)
              elif 'source' in filetype:
                    main.addHELPDir(name,url,'addsource',iconimage,fanart,description,filetype)
              elif 'getvideo' in filetype:
                    main.add2HELPDir(name,url,'getvideolink',iconimage,fanart,description,filetype)      
                    main.AUTO_VIEW('movies')
Beispiel #6
0
def GETVIDEOLINK(url):
    link = OPEN_URL(url).replace('\n', '').replace('\r', '')
    match = re.compile(
        'name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"'
    ).findall(link)
    for name, url, iconimage, fanart, description, filetype in match:
        if 'video' in filetype:
            main.addHELPDir(name, url, 'getvideo', iconimage, fanart,
                            description, filetype)
        elif 'youtube' in filetype:
            main.addHELPDir(name, url, 'getvideo', iconimage, fanart,
                            description, filetype)
        elif 'stream' in filetype:
            main.addHELPDir(name, url, 'getvideo', iconimage, fanart,
                            description, filetype)

    main.AUTO_VIEW('movies')
Beispiel #7
0
def STATUSCATEGORIES(url):
          link=OPEN_URL(url).replace('\n','').replace('\r','')
          match=re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)"').findall(link)
          for name,url,iconimage,fanart,description,filetype in match:
                  #main.add2HELPDir(name,'http://addons.xbmchub.com/search/?keyword=Blazetamer','addonlist',iconimage,fanart,description,filetype)
              if 'status' in filetype:
                 main.addHELPDir(name,url,'addonstatus',iconimage,fanart,description,filetype)
              elif 'getshorts' in filetype:
                 main.add2HELPDir(name,url,'getshorts',iconimage,fanart,description,filetype) 
              elif 'main' in filetype:
                    main.addHELPDir(name,url,'addoninstall',iconimage,fanart,description,filetype)
              elif 'addrepo' in filetype:
                    main.add2HELPDir(name,url,'getrepolink',iconimage,fanart,description,filetype)
              elif 'source' in filetype:
                    main.addHELPDir(name,url,'addsource',iconimage,fanart,description,filetype)
              elif 'getvideo' in filetype:
                    main.add2HELPDir(name,url,'getvideolink',iconimage,fanart,description,filetype)
                    #Add your addon url line here========================
              elif 'blazeaddons' in filetype:
                    main.add2HELPDir(name,url,'addonlist',iconimage,fanart,description,filetype)
                    #end Add your addon url line here========================
                    main.AUTO_VIEW('movies')