本文整理汇总了Python中resources.libs.main.addPlayc函数的典型用法代码示例。如果您正苦于以下问题:Python addPlayc函数的具体用法?Python addPlayc怎么用?Python addPlayc使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了addPlayc函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: Mplaylists
def Mplaylists(murl):
link = main.OPENURL(murl)
link = link.replace("\r", "").replace("\n", "").replace("\t", "").replace(" ", "")
r = re.findall("<poster>(.+?)</poster>", link)
if r:
vip = r[0]
else:
vip = "Unknown"
f = re.findall("<fanart>(.+?)</fanart>", link)
if f:
fan = f[0]
else:
fan = art + "/fanart2.jpg"
match = re.compile("<name>(.+?)</name><link>(.+?)</link><thumbnail>(.+?)</thumbnail><date>(.+?)</date>").findall(
link
)
for name, url, thumb, date in match:
if "</vip>" in url:
main.addDirc(name + " [COLOR red] " + date + "[/COLOR]", url, 260, thumb, "", fan, "", "", "")
else:
main.addDirc(name + " [COLOR red] " + date + "[/COLOR]", url, 236, thumb, "", fan, "", "", "")
info = re.findall("<info><message>(.+?)</message><thumbnail>(.+?)</thumbnail></info>", link)
if info:
for msg, pic in info:
main.addLink(msg, "", pic)
popup = re.compile(
"<popup><name>([^<]+)</name.+?popImage>([^<]+)</popImage.+?thumbnail>([^<]+)</thumbnail></popup>"
).findall(link)
for name, image, thumb in popup:
main.addPlayc(name, image, 244, thumb, "", fan, "", "", "")
main.GA("MoviePL", vip + "-Directory")
开发者ID:himag1,项目名称:MashUp,代码行数:31,代码来源:movieplaylist.py
示例2: SEARCHVIKI
def SEARCHVIKI():
dialog = xbmcgui.Dialog()
ret = dialog.select('[COLOR=FF67cc33][B]Choose A Search Type[/COLOR][/B]',['[B][COLOR=FF67cc33]TV Shows[/COLOR][/B]','[B][COLOR=FF67cc33]Movies[/COLOR][/B]'])
if ret == -1:
return
if ret==0:
keyb = xbmc.Keyboard('', 'Search For Shows')
else:
keyb = xbmc.Keyboard('', 'Search For Movies')
keyb.doModal()
if (keyb.isConfirmed()):
search = keyb.getText()
encode=urllib.quote(search)
if ret==0:
surl='http://www.viki.com/search?q='+encode+'&type=series'
else:
surl='http://www.viki.com/search?q='+encode+'&type=film'
html = main.OPENURL(surl)
link=main.unescapes(html).decode('ascii', 'ignore')
match = re.findall('(?sim)class="thumbnail pull-left"><img alt=".+?src="([^"]+)".+?<a href="([^"]+)">([^<]+)</a>.+?<p>(.+?)...',link.replace(' ',''))
for thumb,url,name,desc in match:
fan=re.findall('(.+?jpg)',thumb)
if fan:
fanart=fan[0]
else:
fanart=''
if ret==0:
main.addDirT(name,MainUrl+url,481,thumb,desc,fanart,'','','')
else:
main.addPlayc(name,url,482,thumb,desc,fanart,'','','')
开发者ID:charlesjackson261,项目名称:yolo-boo,代码行数:30,代码来源:viki.py
示例3: Mplaylists
def Mplaylists(murl):
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','')
r=re.findall('<poster>(.+?)</poster>',link)
if r:
vip=r[0]
else:
vip='Unknown'
f=re.findall('<fanart>(.+?)</fanart>',link)
if f:
fan=f[0]
else:
fan=art+'/fanart2.jpg'
match=re.compile('<name>(.+?)</name><link>(.+?)</link><thumbnail>(.+?)</thumbnail><date>(.+?)</date>').findall(link)
for name,url,thumb,date in match:
if '</vip>' in url:
main.addDirc(name+' [COLOR red] '+date+'[/COLOR]',url,260,thumb,'',fan,'','','')
else:
main.addDirc(name+' [COLOR red] '+date+'[/COLOR]',url,236,thumb,'',fan,'','','')
info=re.findall('<info><message>(.+?)</message><thumbnail>(.+?)</thumbnail></info>',link)
if info:
for msg,pic in info:
main.addLink(msg,'',pic)
popup=re.compile('<popup><name>([^<]+)</name.+?popImage>([^<]+)</popImage.+?thumbnail>([^<]+)</thumbnail></popup>').findall(link)
for name,image,thumb in popup:
main.addPlayc(name,image,244,thumb,'',fan,'','','')
main.GA("MoviePL",vip+"-Directory")
开发者ID:HIGHWAY99,项目名称:MashUp,代码行数:27,代码来源:movieplaylist.py
示例4: History
def History():
whprofile = xbmc.translatePath(selfAddon.getAddonInfo('profile'))
whdb=os.path.join(whprofile,'Universal','watch_history.db')
if os.path.exists(whdb):
main.addPlayc('Clear Watch History',whdb,414,art+'/cleahis.png','','','','','')
from resources.universal import watchhistory
wh = watchhistory.WatchHistory(addon_id)
if selfAddon.getSetting("whistory") == "true":
history_items = wh.get_my_watch_history()
for item in history_items:
item_title = item['title']
item_url = item['url']
item_image = item['image_url']
item_fanart = item['fanart_url']
item_infolabels = item['infolabels']
item_isfolder = item['isfolder']
if item_image =='':
item_image= art+'/noimage.png'
item_title=item_title.replace('[COLOR green]','[COLOR=FF67cc33]')
main.addLink(item_title,item_url,item_image)
else:
dialog = xbmcgui.Dialog()
ok=dialog.ok('[B]Aftershock History[/B]', 'Watch history is disabled' ,'To enable go to addon settings','and enable Watch History')
history_items = wh.get_my_watch_history()
for item in history_items:
item_title = item['title']
item_url = item['url']
item_image = item['image_url']
item_fanart = item['fanart_url']
item_infolabels = item['infolabels']
item_isfolder = item['isfolder']
item_title=item_title.replace('[COLOR green]','[COLOR=FF67cc33]')
main.addLink(item_title,item_url,item_image)
开发者ID:cmdnath,项目名称:innovate-dev,代码行数:33,代码来源:default.py
示例5: subLink
def subLink(mname,suburl):
match=re.compile('<sublink>(.+?)</sublink>').findall(suburl)
for url in match:
match6=re.compile('http://(.+?)/.+?').findall(url)
for url2 in match6:
host = url2.replace('www.','').replace('.in','').replace('.net','').replace('.com','').replace('.to','').replace('.org','').replace('.ch','')
main.addPlayc(mname+' [COLOR blue]'+host.upper()+'[/COLOR]',url,237,art+'/mainevent.png','','','','','')
开发者ID:philtimmes,项目名称:addons,代码行数:7,代码来源:movieplaylist.py
示例6: VIPList
def VIPList(mname,murl):
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','')
r=re.findall('<poster>(.+?)</poster>',link)
if r:
vip=r[0]
else:
vip='Unknown'
f=re.findall('<fanart>(.+?)</fanart>',link)
if f:
fan=f[0]
else:
fan=art+'/fanart2.jpg'
info=re.findall('<info><message>(.+?)</message><thumbnail>(.+?)</thumbnail></info>',link)
if info:
for msg,pic in info:
main.addLink(msg,'',pic)
popup=re.compile('<popup><name>([^<]+)</name.+?popImage>([^<]+)</popImage.+?thumbnail>([^<]+)</thumbnail></popup>').findall(link)
for name,image,thumb in popup:
main.addPlayc(name,image,244,thumb,'','','','','')
directory=re.compile('<dir><name>([^<]+)</name.+?link>([^<]+)</link.+?thumbnail>([^<]+)</thumbnail></dir>').findall(link)
for name,url,thumb in directory:
main.addDir(name,url,182,thumb)
match=re.compile('<title>([^<]+)</title.+?link>(.+?)</link.+?thumbnail>([^<]+)</thumbnail>').findall(link)
for name,url,thumb in sorted(match):
main.addPlayL(name+' [COLOR blue]'+vip+'[/COLOR]',url,183,thumb,'',fan,'','','',secName=vip,secIcon=art+'/'+vip.lower()+'.png')
main.GA(vip+"-Playlists",mname)
开发者ID:Pirata-Repository,项目名称:Pirata,代码行数:27,代码来源:vipplaylist.py
示例7: openFolder
def openFolder(name,folders):
if selfAddon.getSetting("addmethod") == "false":
main.addPlayc('Add Playlist',folders,250,art+'/xmlplaylistadd.png','','','','','')
pl=0
fl=0
if os.path.exists(PlaylistFile):
playlist=re.compile("{'name': '(.*?)', 'url': '(.*?)', 'fanart': '(.*?)', 'folder': '(.*?)', 'typeXml': '(.*?)', 'thumb': '(.*?)'}").findall(open(PlaylistFile,'r').read())
for name,url,fanart,folder,typeXml,thumb in sorted(playlist):
if urllib.unquote_plus(folders)==urllib.unquote_plus(folder):
name=urllib.unquote_plus(name)
url=urllib.unquote_plus(url)
thumb=urllib.unquote_plus(thumb)
fanart=urllib.unquote_plus(fanart)
if typeXml =='MashUp':
main.addDirXml(name,url,239,thumb,folders,fanart,'','','')
else:
main.addDirXml(name,url,257,thumb,folders,fanart,typeXml,'','')
pl=pl+1
if os.path.exists(FolderFile):
foldered=re.compile("{'name': '(.*?)', 'fanart': '(.*?)', 'place': .+?, 'placeb': .+?, 'folder': '(.*?)', 'thumb': '(.*?)'}").findall(open(FolderFile,'r').read())
for name,fanart,folder,thumb in sorted(foldered):
if urllib.unquote_plus(folders)==urllib.unquote_plus(folder):
name=urllib.unquote_plus(name)
thumb=urllib.unquote_plus(thumb)
fanart=urllib.unquote_plus(fanart)
main.addXmlFolder(name,folder+'-'+name,253,thumb,'',fanart,'','','')
fl=fl+1
if fl==0 and pl==0 and selfAddon.getSetting("addmethod") == "true":
main.addPlayc('Add Playlist',folders,250,art+'/xmlplaylistadd.png','','','','','')
开发者ID:fsharath,项目名称:MashUp,代码行数:29,代码来源:customchannel.py
示例8: MAIN
def MAIN():
xbmcgui.Window(10000).clearProperty('MASH_SSR_TYPE')
d = settings.getHomeItems()
for index, value in sorted(enumerate(d), key=lambda x:x[1]):
if value==None: continue
if index==0:
main.addDirHome('Search',mainurl,420,art+'/search2.png')
elif index==1:
main.addDirHome("All Fav's",mainurl,639,art+'/favsu.png')
elif index==2:
main.addDirHome('A-Z',mainurl,6,art+'/az2.png')
elif index==3:
main.addDirHome('New Releases',mainurl + 'new-releases/',1,art+'/new2.png')
elif index==4:
main.addDirHome('Latest Added',mainurl + 'latest-added/',1,art+'/latest2.png')
elif index==5:
main.addDirHome('Featured Movies',mainurl + 'featured-movies/',1,art+'/feat2.png')
elif index==6:
main.addDirHome('Most Viewed',mainurl + 'most-viewed/',1,art+'/view2.png')
elif index==7:
main.addDirHome('Most Voted',mainurl + 'most-voted/',1,art+'/vote2.png')
elif index==8:
main.addDirHome('HD Releases',mainurl + 'latest-hd-movies/',1,art+'/dvd2hd.png')
elif index==9:
main.addDirHome('Genre',mainurl,2,art+'/genre2.png')
elif index==10:
main.addDirHome('By Year',mainurl,7,art+'/year2.png')
elif index==11:
main.addDirHome('Watch History','history',222,art+'/whistory.png')
elif index==14:
main.addDirHome('International','http://www.desirulez.net',36,art+'/intl.png')
elif index==22:
main.addDirHome('Kids Zone',mainurl,76,art+'/kidzone2.png')
main.addPlayc('MashUp Settings',mainurl,1999,art+'/MashSettings.png','','','','','')
开发者ID:cmdnath,项目名称:innovate-dev,代码行数:34,代码来源:default.py
示例9: LISTVIKIM
def LISTVIKIM(murl):
html = main.OPENURL(murl)
link=main.unescapes(html).decode('ascii', 'ignore')
match = re.findall('(?sim)class="thumbnail pull-left"><img alt=".+?src="([^"]+)".+?<a href="([^"]+)">([^<]+)</a>.+?<p>(.+?)...',link.replace(' ',''))
dialogWait = xbmcgui.DialogProgress()
ret = dialogWait.create('Please wait until Movie list is cached.')
totalLinks = len(match)
loadedLinks = 0
remaining_display = 'Movies loaded :: [B]'+str(loadedLinks)+' / '+str(totalLinks)+'[/B].'
dialogWait.update(0,'[B]Will load instantly from now on[/B]',remaining_display)
for thumb,url,name,desc in match:
fan=re.findall('(.+?jpg)',thumb)
if fan:
fanart=fan[0]
else:
fanart=''
main.addPlayc(name,url,482,thumb,desc,fanart,'','','')
loadedLinks = loadedLinks + 1
percent = (loadedLinks * 100)/totalLinks
remaining_display = 'Movies loaded :: [B]'+str(loadedLinks)+' / '+str(totalLinks)+'[/B].'
dialogWait.update(percent,'[B]Will load instantly from now on[/B]',remaining_display)
if (dialogWait.iscanceled()):
return False
dialogWait.close()
del dialogWait
paginate = re.compile("(?sim)<a class='page-link' rel='next' href='([^']+)'>Next →</a>").findall(link)
if len(paginate)>0:
main.addDir('[COLOR blue]Next Page >>>[/COLOR]',MainUrl+paginate[0],483,art+'/next2.png')
main.GA("Viki","List")
开发者ID:charlesjackson261,项目名称:yolo-boo,代码行数:29,代码来源:viki.py
示例10: MAINMENU
def MAINMENU():
main.addDir('Search', BASE_URL+'?s=',1024,art+'/tpsearch.png')
main.addDir('TV Shows',BASE_URL,1021,art+'/tptvshows.png')
main.addDir('Movies',BASE_URL,1022,art+'/tpmovies.png')
#main.addDir('TubePLUS Movie Charts','http://www.tubeplus.me/tool/',1023,'')
main.addPlayc('Resolver Settings',BASE_URL,1004,art+'/tpsettings.png','','','','','')
main.VIEWSB()
开发者ID:philtimmes,项目名称:addons,代码行数:7,代码来源:tubeplus.py
示例11: LIST3arabtv
def LIST3arabtv(murl):
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('»','').replace('→','')
match=re.compile("""><img src="([^<]+)".+?<a href="([^<]+)">([^<]+)</a></span>""",re.DOTALL).findall(link)
for thumb,url,name in match:
thumb=thumb.split('"')[0]
if 'http' not in thumb:
thumb=MAINURL+thumb
thumb=thumb.replace(' ','')
if 'Episodes' in name or 'Shows' in name:
name2=re.compile('href="'+url+'">'+name+'</a></span>.+?><a href=".+?">([^<]+)</a>',re.DOTALL).findall(link)
if name2:
name2=name2[0]
else:
name2=''
main.addDir('[COLOR red]'+name+'[/COLOR] '+name2,MAINURL+url,356,thumb)
else:
if 'Clips' in name or 'Movies' in name:
name2=re.compile('href="'+url+'">'+name+'</a></span>.+?><a href=".+?">([^<]+)</a>',re.DOTALL).findall(link)
if name2:
name2=name2[0]
else:
name2=''
main.addPlayc('[COLOR red]'+name+'[/COLOR] '+name2,MAINURL+url,355,thumb,'','','','','')
else:
main.addPlayc(name,MAINURL+url,355,thumb,'','','','','')
paginate = re.compile('''<a class="page" href="([^<]+)">Next''').findall(link)
if len(paginate)>0:
main.addDir('Next',MAINURL+paginate[0],353,art+'/next2.png')
main.GA("3Arabtv","List")
开发者ID:Pirata-Repository,项目名称:Pirata,代码行数:31,代码来源:arabtv.py
示例12: MAINMENU
def MAINMENU():
main.addDir("Search", BASE_URL + "?s=", 1024, art + "/tpsearch.png")
main.addDir("TV Shows", BASE_URL, 1021, art + "/tptvshows.png")
main.addDir("Movies", BASE_URL, 1022, art + "/tpmovies.png")
# main.addDir('TubePLUS Movie Charts','http://www.tubeplus.me/tool/',1023,'')
main.addPlayc("Resolver Settings", BASE_URL, 1004, art + "/tpsettings.png", "", "", "", "", "")
main.VIEWSB()
开发者ID:himag1,项目名称:MashUp,代码行数:7,代码来源:tubeplus.py
示例13: LISTEPI
def LISTEPI(mname, murl, thumb):
link = main.OPENURL(murl)
link = link.replace("\r", "").replace("\n", "").replace("\t", "").replace(" ", "").replace("»", "")
match = re.compile(
"""<h3><a class="play" href="([^<]+)" onClick="return popups.+?">(.+?)</a></h3>""", re.DOTALL
).findall(link)
for url, name in match:
main.addPlayc(name, url, 338, thumb, "", "", "", "", "")
开发者ID:philtimmes,项目名称:addons,代码行数:8,代码来源:aflam.py
示例14: LISTEPI
def LISTEPI(mname, murl, thumb):
link = aflamOPENURL(murl)
link = link.replace("\r", "").replace("\n", "").replace("\t", "").replace(" ", "").replace("»", "")
match = re.compile(
"""<li>([^<]+)<span dir="ltr"><a href="([^"]+)" onClick=".+?">([^<]+)</a></span>""", re.DOTALL
).findall(link)
for num, url, name in match:
main.addPlayc(num + " " + name, url, 338, thumb, "", "", "", "", "")
开发者ID:himag1,项目名称:AutoUpdate,代码行数:8,代码来源:aflam.py
示例15: GLOBALBCList
def GLOBALBCList(murl):
#main.GA("GlobalBC","List")
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','')
match=re.compile('<a class=".+?" href="([^<]+)" title="([^<]+)" data-vid_id=".+?"><img src="http://en.wordpress.com/imgpress.?url=([^<]+)w=300" alt=".+?"><div><h4>([^<]+)</h4>').findall(link)
for url, name,thumb,cat in match:
thumb=thumb.replace('jpg&','jpg')
main.addPlayc('[COLOR red]'+cat+':[/COLOR] '+name,thumb,167,thumb,'','','','','')
开发者ID:alejusar,项目名称:starthere,代码行数:8,代码来源:globalbc.py
示例16: MAINMAILRU
def MAINMAILRU(murl):
main.addDir('Search(поиск)','aflam',359,art+'/search.png')
link=geturl(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('»','').replace('\\','')
match=re.compile("""style="background-image: url.?'(.+?)'.+?"data-videourl="(.+?)"data-clns=".+?"></span><span class=".+?">(.+?)</span><span class=".+?"><span class=".+?"></span>(.+?)</span>""",re.DOTALL).findall(link)
for thumb,url,dur,name in match:
name=name.encode('windows-1251')
main.addPlayc(name,MAINURL+url+'.html',358,thumb,'','','','','')
main.GA("Plugin","MailRu")
开发者ID:Pirata-Repository,项目名称:Pirata,代码行数:9,代码来源:mailru.py
示例17: MAINMAILRU
def MAINMAILRU(murl):
main.addDir('Search(поиск)','aflam',359,art+'/search.png')
link=geturl(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('»','').replace('\\','')
match=re.compile("""class="b-catalog__video-item-time font-small">([^<]+)</span><span.+?title="([^"]+)"><a type="videolayer"href="http://my.mail.ru/mail/(.+?)"data-clns=.+?style="background-image: url\('([^']+)'\);">""",re.DOTALL).findall(link)
for dur,name,url,thumb in match:
name=name.encode('windows-1251')
url=url.replace('/video','')
main.addPlayc(name,MAINURL+url,358,thumb,'','','','','')
开发者ID:alejusar,项目名称:starthere,代码行数:9,代码来源:mailru.py
示例18: MList
def MList(mname,murl):
mname = mname.split('[C')[0]
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','')
r=re.findall('<poster>(.+?)</poster>',link)
if r:
vip=r[0]
else:
vip='Unknown'
f=re.findall('<fanart>(.+?)</fanart>',link)
if f:
fan=f[0]
else:
fan=art+'/fanart2.jpg'
info=re.findall('<info><message>(.+?)</message><thumbnail>(.+?)</thumbnail></info>',link)
if info:
for msg,pic in info:
main.addLink(msg,'',pic)
popup=re.compile('<popup><name>([^<]+)</name.+?popImage>([^<]+)</popImage.+?thumbnail>([^<]+)</thumbnail></popup>').findall(link)
for name,image,thumb in popup:
main.addPlayc(name,image,244,thumb,'',fan,'','','')
directory=re.compile('<dir><name>([^<]+)</name.+?link>([^<]+)</link.+?thumbnail>([^<]+)</thumbnail></dir>').findall(link)
for name,url,thumb in directory:
main.addDirb(name,url,236,thumb,fan)
match=re.compile('<title>([^<]+)</title.+?link>(.+?)</link.+?thumbnail>([^<]+)</thumbnail>').findall(link)
dialogWait = xbmcgui.DialogProgress()
ret = dialogWait.create('Please wait until Movie list is cached.')
totalLinks = len(match)
loadedLinks = 0
remaining_display = 'Movies loaded :: [B]'+str(loadedLinks)+' / '+str(totalLinks)+'[/B].'
dialogWait.update(0,'[B]Will load instantly from now on[/B]',remaining_display)
xbmc.executebuiltin("XBMC.Dialog.Close(busydialog,true)")
for name,url,thumb in match:
if '</sublink>' in url:
main.addDown4(name+' [COLOR blue]'+vip+'[/COLOR]',url,249,thumb,'',fan,'','','')
elif '</referer>' in url:
main.addDown4(name+' [COLOR blue]'+vip+'[/COLOR]',url,259,thumb,'',fan,'','','')
elif '</dirlist>' in url:
xurl = re.findall('<dirlist>(.+?)</dirlist>', url)[0]
main.addDirb(name,xurl,236,thumb,fan)
elif '</noMeta>' in url:
xurl = re.findall('<noMeta>(.+?)</noMeta>', url)[0]
main.addPlayc(name+' [COLOR blue]'+vip+'[/COLOR]',xurl,237,thumb,'',fan,'','','')
else:
main.addDown4(name+' [COLOR blue]'+vip+'[/COLOR]',url,237,thumb,'',fan,'','','')
loadedLinks = loadedLinks + 1
percent = (loadedLinks * 100)/totalLinks
remaining_display = 'Movies loaded :: [B]'+str(loadedLinks)+' / '+str(totalLinks)+'[/B].'
dialogWait.update(percent,'[B]Will load instantly from now on[/B]',remaining_display)
if (dialogWait.iscanceled()):
return False
dialogWait.close()
del dialogWait
main.GA(vip+"-Directory",vip+"-Playlist")
开发者ID:Ladeiras,项目名称:AutoUpdate,代码行数:57,代码来源:movieplaylist.py
示例19: LISTCINEM
def LISTCINEM(murl):
link=main.OPENURL(murl)
link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('»','')
match=re.compile('style="float:left;"><div><a href="(.+?)"><img src="(.+?)" alt="(.+?)".+?<div id=".+?" style=".+?">(.+?)</div>',re.DOTALL).findall(link)
for url,thumb,name,desc in match:
main.addPlayc(name,url,364,thumb,desc,'','','','')
paginate = re.compile('''<a href="([^<]+)"><strong>.+?span''').findall(link)
if len(paginate)>0:
main.addDir('Next',paginate[0],363,art+'/next2.png')
开发者ID:Pirata-Repository,项目名称:Pirata,代码行数:9,代码来源:cinemaxx.py
示例20: MAINMENU
def MAINMENU():
main.addDir('Search', BASE_URL+'?s=',1024,art+'/tpsearch.png')
main.addDir('TV Shows',BASE_URL,1021,art+'/tptvshows.png')
main.addDir('Movies',BASE_URL,1022,art+'/tpmovies.png')
#main.addDir('TubePLUS Movie Charts','http://www.tubeplus.me/tool/',1023,'')
if selfAddon.getSetting("tube-proxy") == "true":
main.addPlayc('Proxy [COLOR green]ON[/COLOR]',BASE_URL,1004,art+'/tpsettings.png','','','','','')
else:
main.addPlayc('Proxy [COLOR red]OFF[/COLOR]',BASE_URL,1004,art+'/tpsettings.png','','','','','')
main.VIEWSB()
开发者ID:himag1,项目名称:AutoUpdate,代码行数:10,代码来源:tubeplus.py
注:本文中的resources.libs.main.addPlayc函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论