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 HELPCATEGORIES(): link=OPEN_URL('https://github.com/CYBERxNUKE/cputech/raw/master/help.txt').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,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name,url,'helpwizard',iconimage,fanart,description,filetype) main.AUTO_VIEW('movies')
def HELPCATEGORIES(): if ((XBMCversion['Ver'] in ['','']) or (int(XBMCversion['two']) < 12)) and (settings.getSetting('bypass-xbmcversion')=='false'): eod(); addon.show_ok_dialog(["Compatibility Issue: Outdated Kodi Setup","Please upgrade to a newer version of XBMC first!","Visit %s for Support!"%SiteDomain],title="XBMC "+XBMCversion['Ver'],is_error=False); DoA('Back'); else: link=OPEN_URL(wizardUrl+'linksdemo.txt').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,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name,url,'helpwizard',iconimage,fanart,description,filetype) #print [name,url] main.AUTO_VIEW('movies')
def HELPCATEGORIES(): if ((XBMCversion['Ver'] in ['','']) or (int(XBMCversion['two']) < 12)) and (settings.getSetting('bypass-xbmcversion')=='false'): eod(); addon.show_ok_dialog(["Compatibility Issue: Outdated Kodi Setup","Please upgrade to a newer version of XBMC first!","Visit %s for Support!"%SiteDomain],title="XBMC "+XBMCversion['Ver'],is_error=False); DoA('Back'); else: link=OPEN_URL(wizardUrl+'packs.txt').replace('\n','').replace('\r','') match=re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)".+?ype="(.+?)".+?nset="(.+?)".+?estart="(.+?)"').findall(link) for name,url,iconimage,fanart,description,filetype,skinset,restart in match: #if 'status' in filetype: #main.addHELPDir(name,url,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name,url,'helpwizard',iconimage,fanart,description,filetype,skinset,restart) #print [name,url] main.AUTO_VIEW('movies')
def HELPCATEGORIES(): link = OPEN_URL( 'https://github.com/CYBERxNUKE/cputech/raw/master/help.txt').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,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name, url, 'helpwizard', iconimage, fanart, description, filetype) main.AUTO_VIEW('movies')
def HELPCATEGORIES(): if ((XBMCversion['Ver'] in ['','']) or (int(XBMCversion['two']) < 12)) and (settings.getSetting('bypass-xbmcversion')=='false'): eod(); addon.show_ok_dialog(["Compatibility Issue: Outdated Supabox Setup","Please upgrade to a newer version of Supabox first!","Visit Supaboxtv.COM for Support!"], title="XBMC "+XBMCversion['Ver'], is_error=False); DoA('Back'); else: link=OPEN_URL('http://andersonflagg.com/updater.txt').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,'updaterstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name,url,'helpupdater',iconimage,fanart,description,filetype) main.AUTO_VIEW('movies')
def HELPCATEGORIES(): if ((XBMCversion['Ver'] in ['','']) or (int(XBMCversion['two']) < 12)) and (settings.getSetting('bypass-xbmcversion')=='false'): eod(); addon.show_ok_dialog(["Compatibility Issue: Outdated Kodi Setup","Please upgrade to a newer version of XBMC first!","Visit %s for Support!"%SiteDomain],title="XBMC "+XBMCversion['Ver'],is_error=False); DoA('Back'); else: setCookie('http://milo.tecfront.ca/member/login') response = net.http_GET('http://milo.tecfront.ca/member/login') if not 'Logged in as' in response.content: dialog = xbmcgui.Dialog() dialog.ok('Milo Wizard', 'An error has ocurred logging in','Please check your details in addon settings','') quit() link = OPEN_URL('http://milo.tecfront.ca/member/content/f/id/1/').replace('\n','').replace('\r','') print link 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,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name,url,'helpwizard',iconimage,fanart,description,filetype) #print [name,url] main.AUTO_VIEW('movies')
def HELPCATEGORIES(): if ((XBMCversion['Ver'] in ['', '']) or (int(XBMCversion['two']) < 12)) and ( settings.getSetting('bypass-xbmcversion') == 'false'): eod() addon.show_ok_dialog([ "Compatibility Issue: Outdated Kodi Setup", "Please upgrade to a newer version of XBMC first!", "Visit %s for Support!" % SiteDomain ], title="XBMC " + XBMCversion['Ver'], is_error=False) DoA('Back') else: setCookie('http://milo.tecfront.ca/member/login') response = net.http_GET('http://milo.tecfront.ca/member/login') if not 'Logged in as' in response.content: dialog = xbmcgui.Dialog() dialog.ok('Milo Wizard', 'An error has ocurred logging in', 'Please check your details in addon settings', '') quit() link = OPEN_URL( 'http://milo.tecfront.ca/member/content/f/id/1/').replace( '\n', '').replace('\r', '') print link 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,'wizardstatus',iconimage,fanart,description,filetype) #else: main.addHELPDir(name, url, 'helpwizard', iconimage, fanart, description, filetype) #print [name,url] 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 STATUSCATS(): link=OPEN_URL('http://addonrepo.com/xbmchub/familyfunflix/messages/addon.txt').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')