description = urllib.unquote_plus(params["description"]) except: pass try: query = urllib.unquote_plus(params["query"]) except: pass try: type = urllib.unquote_plus(params["type"]) except: pass # OpenELEQ: query & type-parameter (added 8 lines above) if mode == None or url == None or len(url) < 1: from resources.modules import downloader downloader.getmodules() try: msg = OPEN_URL( 'https://github.com/sClarkeIsBack/LiveHub/raw/master/startupmsg.txt' ) txt = msg % (float( xbmc.getInfoLabel("System.BuildVersion")[:4]), '1.6') popupd(txt) except: pass home() elif mode == 1: from resources.root import ukgeo ukgeo.get(url)
description=urllib.unquote_plus(params["description"]) except: pass try: query=urllib.unquote_plus(params["query"]) except: pass try: type=urllib.unquote_plus(params["type"]) except: pass # OpenELEQ: query & type-parameter (added 8 lines above) if mode==None or url==None or len(url)<1: from resources.modules import downloader downloader.getmodules() #try: # msg = OPEN_URL('https://github.com/sClarkeIsBack/LiveHub/raw/master/startupmsg.txt') # txt = msg%(float(xbmc.getInfoLabel("System.BuildVersion")[:4]),'1.6') # popupd(txt) #pass home() elif mode==1: from resources.root import ukgeo ukgeo.get(url) elif mode==2: from resources.root import webscrapers webscrapers.get(url)