def run(): plugintools.log("docu.run") # Get params params = plugintools.get_params() main_list(params) plugintools.close_item_list()
def run(): # Main menu if sys.argv[2] == "": plugintools.log("heritagechannel.run") li1 = plugintools.xbmcgui.ListItem("[I]Filter by country[/I]", iconImage=countriesicon, thumbnailImage="") li1.setProperty('fanart_image', mainfanart) plugintools.xbmcplugin.addDirectoryItem(handle=addon_handle, url=base_url+"?browsebycountry", listitem=li1,isFolder=True) li2 = plugintools.xbmcgui.ListItem("[I]Filter by city[/I]", iconImage=citiesicon, thumbnailImage="") li2.setProperty('fanart_image', mainfanart) plugintools.xbmcplugin.addDirectoryItem(handle=addon_handle, url=base_url+"?browsebycity", listitem=li2,isFolder=True) # Get params params = plugintools.get_params() main_list(params) plugintools.close_item_list() # Browse By Country menu elif sys.argv[2] == "?browsebycountry": BrowseByCountry() # Browse By City menu elif sys.argv[2] == "?browsebycity": BrowseByCity() # Show menu: institutions in selected country elif "countrycode" in sys.argv[2]: sl=plugintools.splitOnQuestionmarkAndEquality(sys.argv[2]) ShowOrganisationsFromCountry(sl[2]) # Show menu: institutions in selected city elif "city" in str(sys.argv[2]): sl=plugintools.splitOnQuestionmarkAndEquality(sys.argv[2]) ShowOrganisationsFromCity(plugintools.urllib.unquote(sl[2]))
def get_shows(page='1'): showsList = kidstv.get_shows_menu(page) for show in showsList.get('shows'): plugintools.add_item(title=show.get('title'),action='showepisodes',page='1',mmsId=show.get('mmsId'),thumbnail=show.get('image')) if showsList.get('next'): plugintools.add_item(title=u'הבא',page=str(int(page)+1),action='showlist') plugintools.close_item_list()
def get_episodes(mmsId,page): epsList = kidstv.get_mms_list(mmsId,page) for episode in epsList.get('episodes'): plugintools.add_item(title=episode.get('title'),action='showstreams',page='1',token=episode.get('token'),thumbnail=episode.get('image')) if epsList.get('next'): plugintools.add_item(title=u'הבא',page=str(int(page)+1),action='showepisodes',mmsId=mmsId) plugintools.close_item_list()
def show_page(url,curpage=1): if curpage == None: curpage=1 headers = {} headers['User-Agent'] = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20' headers['content-type'] = 'text/html; charset=utf-8' request = urllib2.Request(urllib.unquote_plus(url+'/'+str(curpage)),headers=headers) resp = urllib2.urlopen(request) result = resp.read().decode('utf-8') #r.encoding = 'utf-8' try: soup = BeautifulSoup(result, "html.parser") except: soup = BeautifulSoup(result) categories = soup.findAll('ul',{'class':'category-list'},'html.parser') # import io #playfile = open(plugintools.get_runtime_path()+'\\foobar.txt' , "w" ) #playfile.write(r.content) for cat in categories: links = cat.findAll('a') for link in links: plugintools.add_item(title=link.img.get('alt'),url=link.get('href'),action='stream',thumbnail=link.img.get('src'),folder=False) curpage = curpage+1 plugintools.add_item(title=u'עמוד הבא',action='page',url=url.encode('utf-8'),page=curpage) plugintools.close_item_list()
def run(): global pnimi global televisioonilink global andmelink global uuenduslink global lehekylg1 global LOAD_LIVE global uuendused global vanemalukk global version version = int("3") kasutajanimi=plugintools.get_setting(get_live("a2FzdXRhamFuaW1p")) salasona=plugintools.get_setting(vod_channels("c2FsYXNvbmE=")) lehekylg1=plugintools.get_setting(vod_channels("bGVoZWt5bGcx")) pordinumber=plugintools.get_setting(get_live("cG9yZGludW1iZXI=")) uuendused=plugintools.get_setting(sync_data("dXVlbmR1c2Vk")) vanemalukk=plugintools.get_setting(sync_data("dmFuZW1hbHVraw==")) pnimi = get_live("RGV4dGVyUHJvIA==") LOAD_LIVE = os.path.join( plugintools.get_runtime_path() , get_live("cmVzb3VyY2Vz") , vod_channels("YXJ0") ) televisioonilink = get_live("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfbGl2ZV9jYXRlZ29yaWVz")%(lehekylg1,pordinumber,kasutajanimi,salasona) andmelink = vod_channels("JXM6JXMvcGFuZWxfYXBpLnBocD91c2VybmFtZT0lcyZwYXNzd29yZD0lcw==")%(lehekylg1,pordinumber,kasutajanimi,salasona) uuenduslink = ("http://158.69.54.54/plugin.video.dex.zip") if get_live("RGV4dGVyUHJv") not in open(addonDir+"/"+sync_data("YWRkb24ueG1s")).read(): check_user(params) params = plugintools.get_params() if params.get("action") is None: peamenyy(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def getAllChannels(): plugintools.add_item(action='pseudo',title='[COLOR blue] Add to pseudoTV [/COLOR]') headers = {} headers['User-Agent']= 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20' request = urllib2.Request(plugintools.get_giti_hubi(2)) resp = urllib2.urlopen(request) result = resp.read() json_obj = json.loads(result,encoding='utf-8') channelList = json_obj.get('channels') prevChannel = '' prevChannelThumbnail = '' for channel in channelList: if prevChannel == '': prevChannelDict = channelList[len(channelList)-1] prevChannel = str(prevChannelDict.get('channelID')) prevChannelThumbnail = str(prevChannelDict.get('thumbpic')) title=channel.get('title').encode('utf-8') plugintools.add_item(title=title,thumbnail=channel.get('thumbpic'),channelID=str(channel.get('channelID')),action=channel.get('movType'),prevChannel=prevChannel,prevThumbnail=prevChannelThumbnail) prevChannel = str(channel.get('channelID')) prevChannelThumbnail = repr(channel.get('thumbpic')) plugintools.close_item_list()
def run(): plugintools.log("jami.run") params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def get_episodes(url,page): epsList = hop.get_page(url+'/page/'+page) for episode in epsList: plugintools.add_item(title=episode.get('title'),action='stream',page='1',url=episode.get('url'),thumbnail=episode.get('image')) epsListNext = hop.get_page(url+'/page/'+str(int(page)+1)) if len(epsListNext) > 2: plugintools.add_item(title=u'הבא',page=str(int(page)+1),action='showepisodes',url=url) plugintools.close_item_list()
def run(): plugintools.log("heritagechannel.run") # Get params params = plugintools.get_params() # if params.get("action") is None: main_list(params) # else: # action = params.get("action") # exec action + "(params)" plugintools.close_item_list()
def ShowOrganisationsFromCountry(countrycode): for chirow in chi: if chirow[2].strip() == countrycode: plugintools.add_item( # See http://bytes.com/topic/python/answers/590441-how-strip-mulitiple-white-spaces title=" ".join(chirow[0].split()) + ", " + " ".join(chirow[1].split()) + ", " + plugintools.lookup_countryname(chirow[2].strip()), url="plugin://plugin.video.youtube/user/" + chirow[3].strip() + "/", thumbnail=os.path.join(path, 'resources', 'media', 'icons', "icon_" + chirow[4].strip() + ".png"), fanart=os.path.join(path, 'resources', 'media', 'fanarts', "fanart_" + chirow[4].strip() + ".jpg"), folder=True) plugintools.close_item_list()
def run(): plugintools.log("vldl.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: pass plugintools.close_item_list()
def run(): plugintools.log("pegadinhasdosilviosantos.run") params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def IDX_YOUTUBE1(): plugintools.log("nratv1.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list1(params) else: pass plugintools.close_item_list()
def run(): plugintools.log("YourFriendlyGamerx.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("KharabeeshCartoons.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("CairoCinemaMovies.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("KoraBookoffical2013.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("TheBetterLifeTeam.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def BrowseByCity(): #fill list alphabetically with unique countrycodes unique_city=[] for city in chi_city: if city not in unique_city: unique_city.append(city) sorted_unique_city=sorted(unique_city) #make menu alphabetically for su_city in sorted_unique_city: li = plugintools.xbmcgui.ListItem(su_city, iconImage=citiesicon , thumbnailImage="") li.setProperty('fanart_image', mainfanart) plugintools.xbmcplugin.addDirectoryItem(handle=addon_handle, url=base_url+"?city="+str(su_city), listitem=li,isFolder=True) plugintools.close_item_list()
def run(): plugintools.log("MelodyEntInc.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("WorldStarHipHopTV.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("olhardigital.run") # Pega Parâmetros params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("AlHayatTVChannel.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("UndergroundWellness.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("FilmStreamOnline.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("AddictiveFishing.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log(YOUTUBE_CHANNEL_ID+".run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("TerryRichardsonTV.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): plugintools.log("docu.run") # Get params params = plugintools.get_params() if params.get("action") is None: main_list(params) else: action = params.get("action") exec(action+"(params)") plugintools.close_item_list()
def get_mov(url): # xbmcgui.Dialog().ok('url',url) movsList = importsite(url, 'getmov') for show in movsList: # print show thumb = show.get('thumbnail') if thumb == None: thumb = "" if show.get('title') != u"Next": plugintools.add_item(title=show.get('title'), action='streamslist', url=show.get('url'), thumbnail=thumb) else: plugintools.add_item(title=show.get('title'), action='showmovie', url=show.get('url'), thumbnail=nextimg) # xbmc.executebuiltin('Container.SetViewMode(500)') plugintools.close_item_list()
def get_search(url): qry = get_keyboard('ค้นหา', default='') surl = url + qry # xbmcgui.Dialog().ok('test',surl) showsList = kaddon.getSeries(surl) for show in showsList: thumb = show.get('thumbnail') if thumb == None: thumb = "" if show.get('title') != u"Next": plugintools.add_item(title=show.get('title'), action='showepisodes', url=show.get('url'), thumbnail=thumb) else: plugintools.add_item(title=show.get('title'), action='showseries', url=show.get('url'), thumbnail=thumb) plugintools.close_item_list()
def run(): global pnimi global televisioonilink global filmilink global andmelink global uuenduslink global lehekylg global LOAD_LIVE global uuendused global vanemalukk global version global showxxx version = int(get_live("MQ==")) kasutajanimi=plugintools.get_setting("Username") salasona=plugintools.get_setting("Password") if not kasutajanimi: kasutajanimi = "NONE" salasona="NONE" lehekylg="http://dns.theplayersklub.us" pordinumber="2095" uuendused=plugintools.get_setting(sync_data("dXVlbmR1c2Vk")) vanemalukk=plugintools.get_setting(sync_data("dmFuZW1hbHVraw==")) showxxx=plugintools.get_setting("showxxx") pnimi = get_live("T25lIFZpZXc=") LOAD_LIVE = os.path.join( plugintools.get_runtime_path() , "resources" , "art" ) plugintools.log(pnimi+get_live("U3RhcnRpbmcgdXA=")) televisioonilink = get_live("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfbGl2ZV9jYXRlZ29yaWVz")%(lehekylg,pordinumber,kasutajanimi,salasona) filmilink = vod_channels("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfdm9kX2NhdGVnb3JpZXM=")%(lehekylg,pordinumber,kasutajanimi,salasona) andmelink = vod_channels("JXM6JXMvcGFuZWxfYXBpLnBocD91c2VybmFtZT0lcyZwYXNzd29yZD0lcw==")%(lehekylg,pordinumber,kasutajanimi,salasona) uuenduslink = get_live("aHR0cHM6Ly93d3cuZHJvcGJveC5jb20vcy83ZW0yNHdkMXBkZGlkcW8vdmVyc2lvbi50eHQ/ZGw9MQ==") #if get_live("T25lIFZpZXc=") not in open(addonDir+"/"+sync_data("YWRkb24ueG1s")).read(): #check_user() params = plugintools.get_params() if params.get("action") is None: peamenyy(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def get_streams(url, thumbnail, title): savelast(url=url, title=title, thumbnail=thumbnail, action='streamslist') # xbmcgui.Dialog().ok('get_stream', title) # arg(title) strmList = importsite(url, 'getstreams', title=title) for stream in strmList: stitle = title.decode('utf8') + ' ' + stream.get('title') if 'sources' in stream.get('url'): plugintools.add_item( title=stitle, action='qualitylist', url=stream.get('url'), thumbnail=urllib.unquote(thumbnail).decode('utf8')) else: plugintools.add_item( title=stitle, action='stream', url=stream.get('url'), thumbnail=urllib.unquote(thumbnail).decode('utf8')) plugintools.close_item_list()
def get_main(): plugintools.add_item( title=u'TV', action='showTV', url='http://psitv.tv/api/Channels', thumbnail= 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSKEnivgmG2z2cUlO0Rcw4GBz-UqfXJ11pTV7ssBh51lqSSYGHmNw' ) plugintools.add_item( title=u'Series&Movies', action='showhosts', thumbnail= 'http://mynotl.com/sites/welland/files/field/image/film-series-logo.jpg' ) plugintools.add_item( title=u'ค้นหา หนัง', action='showsearch', thumbnail= 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRjo0TdD4Mgh3hBgKces3bv6e1WqbeH6msGWXj_9vGKwICjBy6Yfw' ) xbmc.executebuiltin('Container.SetViewMode(502)') plugintools.close_item_list()
def get_posts(url): postsList = multidown.getPosts(url) for post in postsList: if u'עמוד הבא' not in post.get('title'): title = post.get('title') if u'*היידפנישן*' in title: title = '[COLOR red]HD[/COLOR] ' + title.replace( u'*היידפנישן*', '') plugintools.add_item(title=title, action='showsources', url=post.get('url'), thumbnail=post.get('thumbnail'), plot=post.get('plot'), itemcount=len(postsList), extra=post.get('title')) else: plugintools.add_item(title='[COLOR red]' + post.get('title') + '[/COLOR]', action='showposts', url=post.get('url')) plugintools.close_item_list() xbmcplugin.setContent(int(sys.argv[1]), 'movies') xbmc.executebuiltin("Container.SetViewMode(500)")
def run(): global pnimi global televisioonilink global filmilink global andmelink global uuenduslink global lehekylg global LOAD_LIVE global uuendused global vanemalukk global version version = int(get_live("MQ==")) kasutajanimi=plugintools.get_setting("Username") salasona=plugintools.get_setting("Password") if not kasutajanimi: kasutajanimi = "NONE" salasona="NONE" lehekylg=get_live("aHR0cDovL3Nnc3RyZWFtcy50dg==") pordinumber=get_live("MjU0NjE=") uuendused=plugintools.get_setting(sync_data("dXVlbmR1c2Vk")) vanemalukk=plugintools.get_setting(sync_data("dmFuZW1hbHVraw==")) pnimi = get_live("T25lIFZpZXcg") LOAD_LIVE = os.path.join( plugintools.get_runtime_path() , "resources" , "art" ) plugintools.log(pnimi+get_live("U3RhcnRpbmcgdXA=")) televisioonilink = get_live("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfbGl2ZV9jYXRlZ29yaWVz")%(lehekylg,pordinumber,kasutajanimi,salasona) filmilink = vod_channels("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfdm9kX2NhdGVnb3JpZXM=")%(lehekylg,pordinumber,kasutajanimi,salasona) andmelink = vod_channels("JXM6JXMvcGFuZWxfYXBpLnBocD91c2VybmFtZT0lcyZwYXNzd29yZD0lcw==")%(lehekylg,pordinumber,kasutajanimi,salasona) params = plugintools.get_params() if params.get("action") is None: peamenyy(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def run(): global pnimi global televisioonilink global filmilink global andmelink global uuenduslink global lehekylg global LOAD_LIVE global uuendused global vanemalukk global version version = int(get_live("MQ==")) kasutajanimi=plugintools.get_setting(get_live("a2FzdXRhamFuaW1p")) salasona=plugintools.get_setting(vod_channels("c2FsYXNvbmE=")) lehekylg=plugintools.get_setting(vod_channels("bGVoZWt5bGc=")) pordinumber=plugintools.get_setting(get_live("cG9yZGludW1iZXI=")) uuendused=plugintools.get_setting(sync_data("dXVlbmR1c2Vk")) vanemalukk=plugintools.get_setting(sync_data("dmFuZW1hbHVraw==")) pnimi = get_live("WHRyZWFtLUNvZGVzIA==") LOAD_LIVE = os.path.join( plugintools.get_runtime_path() , get_live("cmVzb3VyY2Vz") , vod_channels("YXJ0") ) plugintools.log(pnimi+get_live("U3RhcnRpbmcgdXA=")) televisioonilink = get_live("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfbGl2ZV9jYXRlZ29yaWVz")%(lehekylg,pordinumber,kasutajanimi,salasona) filmilink = vod_channels("JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfdm9kX2NhdGVnb3JpZXM=")%(lehekylg,pordinumber,kasutajanimi,salasona) andmelink = vod_channels("JXM6JXMvcGFuZWxfYXBpLnBocD91c2VybmFtZT0lcyZwYXNzd29yZD0lcw==")%(lehekylg,pordinumber,kasutajanimi,salasona) uuenduslink = get_live("aHR0cHM6Ly93d3cuZHJvcGJveC5jb20vcy83ZW0yNHdkMXBkZGlkcW8vdmVyc2lvbi51eHQ/ZGw9MQ==") if get_live("WHRyZWFtLUNvZGVz") not in open(addonDir+"/"+sync_data("YWRkb24ueG1s")).read(): check_user() params = plugintools.get_params() if params.get("action") is None: peamenyy(params) else: action = params.get("action") exec action+"(params)" plugintools.close_item_list()
def get_search(): slist = site2list() menuItems = slist[1] selecturl = xbmcgui.Dialog().select('Select Sites', menuItems) qry = get_keyboard('ค้นหา', default='') surl = slist[0][selecturl] showsList = importsite(surl, 'getsearch', title=qry) for show in showsList: thumb = show.get('thumbnail') if thumb == None: thumb = "" if show.get('title') != u"Next": plugintools.add_item(title=show.get('title'), action='streamslist', url=show.get('url'), thumbnail=thumb) else: plugintools.add_item(title=show.get('title'), action='showmovie', url=show.get('url'), thumbnail=thumb) plugintools.close_item_list()
def I11i(): global pnimi global televisioonilink global filmilink global andmelink global uuenduslink global lehekylg global LOAD_LIVE global vanemalukk global version global tvlink global tvseries global tvkategoorialink global arhiivilink global striimiv2ljund global tvshows version = int(O0O("Mw==")) Oo = plugintools.get_setting(O0O("a2FzdXRhamFuaW1p")) if not Oo: plugintools.open_settings_dialog() Oo = plugintools.get_setting(O0O("a2FzdXRhamFuaW1p")) I1ii11iIi11i = plugintools.get_setting(I1IiI("c2FsYXNvbmE=")) lehekylg = o0OOO("aHR0cDovL21hbmlhLnNlcnZpY2Vz") iIiiiI = o0OOO("MjU0NjE=") tvshows = o0OOO("YmFja2dyb3VuZC5qcGc=") vanemalukk = plugintools.get_setting(o0OOO("dmFuZW1hbHVraw==")) striimiv2ljund = plugintools.get_setting(o0OOO("c3RyaWltaXYybGp1bmQ=")) pnimi = O0O("TWFuaWEgSEQ=") LOAD_LIVE = os.path.join(plugintools.get_runtime_path(), O0O("cmVzb3VyY2Vz"), I1IiI("YXJ0")) plugintools.log(pnimi + O0O("U3RhcnRpbmcgdXA=")) televisioonilink = O0O( "JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfbGl2ZV9jYXRlZ29yaWVz" ) % (lehekylg, iIiiiI, Oo, I1ii11iIi11i) filmilink = I1IiI( "JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfdm9kX2NhdGVnb3JpZXM=" ) % (lehekylg, iIiiiI, Oo, I1ii11iIi11i) andmelink = I1IiI( "JXM6JXMvcGFuZWxfYXBpLnBocD91c2VybmFtZT0lcyZwYXNzd29yZD0lcw==") % ( lehekylg, iIiiiI, Oo, I1ii11iIi11i) uuenduslink = O0O( "aHR0cHM6Ly93d3cuZHJvcGJveC5jb20vcy9wb3dieGswZDBieDgxNzkva2luZ1ZlcnNpb24udHh0P2RsPTE=" ) tvlink = I1IiI( "JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfdm9kX2NhdGVnb3JpZXM=" ) % (lehekylg, iIiiiI, Oo, I1ii11iIi11i) tvseries = I1IiI( "JXM6JXMvZW5pZ21hMi5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXMmdHlwZT1nZXRfc2VyaWVzX2NhdGVnb3JpZXM=" ) % (lehekylg, iIiiiI, Oo, I1ii11iIi11i) arhiivilink = I1IiI( "JXM6JXMvc3RyZWFtaW5nL3RpbWVzaGlmdC5waHA/dXNlcm5hbWU9JXMmcGFzc3dvcmQ9JXM=" ) % (lehekylg, iIiiiI, Oo, I1ii11iIi11i) if O0O("TWFuaWEgSEQ=") not in open(ii + "/" + o0OOO("YWRkb24ueG1s")).read(): Iii1ii1II11i() if 10 - 10: I1iII1iiII + I1Ii111 / OOo params = plugintools.get_params() if 96 - 96: o0OO0 - Oo0ooO0oo0oO.I1i1iI1i - o00ooo0 / o00 * Oo0oO0ooo if params.get("action") is None: o0oOoO00o(params) else: i1 = params.get("action") exec i1 + "(params)" if 64 - 64: ooO0Oooo00 % Ooo0 plugintools.close_item_list() if 89 - 89: I111i1i1111i - Ii1Ii1iiii11 % I1I1i1
def get_main(): hostlist = Mya.getmain() for host in hostlist: plugintools.add_item(title=host.get('title'),action='showcate',url=host.get('url')) plugintools.close_item_list()
def get_genre(url): catgList = Mya.getgenre(url) for ctg in catgList: plugintools.add_item(title=ctg.get('title'),action='showmovie',url=ctg.get('url')) plugintools.close_item_list()