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')
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')
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')
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')
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')
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')
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')