def mainlist(params,url,category): xbmc.output("[cinegratis.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Novedades" ,"http://www.cinegratis.net/index.php?module=peliculas","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Estrenos" ,"http://www.cinegratis.net/index.php?module=estrenos","","") xbmctools.addnewfolder( CHANNELNAME , "peliscat" , category , "Películas - Lista por categorías" ,"http://www.cinegratis.net/index.php?module=generos","","") xbmctools.addnewfolder( CHANNELNAME , "pelisalfa" , category , "Películas - Lista alfabética" ,"","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Alojadas en Veoh" ,"http://www.cinegratis.net/index.php?module=servers&varserver=veoh","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Alojadas en Megavideo","http://www.cinegratis.net/index.php?module=servers&varserver=megavideo","","") xbmctools.addnewfolder( CHANNELNAME , "listseries" , category , "Series - Novedades" ,"http://www.cinegratis.net/index.php?module=series","","") xbmctools.addnewfolder( CHANNELNAME , "listsimple" , category , "Series - Todas" ,"http://www.cinegratis.net/index.php?module=serieslist","","") xbmctools.addnewfolder( CHANNELNAME , "listseries" , category , "Dibujos - Novedades" ,"http://www.cinegratis.net/index.php?module=anime","","") xbmctools.addnewfolder( CHANNELNAME , "listsimple" , category , "Dibujos - Todos" ,"http://www.cinegratis.net/index.php?module=animelist","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Documentales - Novedades" ,"http://www.cinegratis.net/index.php?module=documentales","","") xbmctools.addnewfolder( CHANNELNAME , "listsimple" , category , "Documentales - Todos" ,"http://www.cinegratis.net/index.php?module=documentaleslist","","") #xbmctools.addnewfolder( CHANNELNAME , "deportes" , category , "Deportes" ,"","","") xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar" ,"","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[pelisflv.py] mainlist") # A�ade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Novedades" ,"http://www.pelisflv.net","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Estrenos","http://www.pelisflv.net/search/label/Estrenos","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Series" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Series Animadas" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Anime" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Categorias" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Calidad" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "ListadoSeries" , category , "Audio" ,"http://www.pelisflv.net/","","") xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar","http://www.pelisflv.net/","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[seriesyonkis.py] mainlist") if config.getSetting("forceview")=="true": xbmc.executebuiltin("Container.SetViewMode(50)") #full list xbmctools.addnewfolder( CHANNELNAME , "lastepisodeslist" , category , "Últimos capítulos","http://www.seriesyonkis.com/ultimos-capitulos.php","","") xbmctools.addnewfolder( CHANNELNAME , "listalfabetico" , category , "Listado alfabético","","","") xbmctools.addnewfolder( CHANNELNAME , "alltvserieslist" , category , "Listado completo de series","http://www.seriesyonkis.com/","","") xbmctools.addnewfolder( CHANNELNAME , "allcartoonslist" , category , "Listado completo de dibujos animados","http://www.seriesyonkis.com/","","") xbmctools.addnewfolder( CHANNELNAME , "allanimelist" , category , "Listado completo de anime","http://www.seriesyonkis.com/","","") xbmctools.addnewfolder( CHANNELNAME , "allminilist" , category , "Listado completo de miniseries","http://www.seriesyonkis.com/","","") xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar","","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params, url, category): xbmc.output("[veocine.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder(CHANNELNAME, "videolist", "", "Peliculas", "http://www.veocine.es/peliculas.html", "", "") xbmctools.addnewfolder( CHANNELNAME, "videolist", "", "Documentales", "http://www.veocine.es/documentales.html", "", "" ) xbmctools.addnewfolder( CHANNELNAME, "videolist", "", "Peliculas infantiles", "http://www.veocine.es/infantil.html", "", "" ) xbmctools.addnewfolder( CHANNELNAME, "videolist", "", "Peliculas VOS", "http://www.veocine.es/peliculavos.html", "", "" ) xbmctools.addnewfolder(CHANNELNAME, "videolist", "", "Anime", "http://www.veocine.es/anime.html", "", "") if xbmctools.getPluginSetting("singlechannel") == "true": xbmctools.addSingleChannelOptions(params, url, category) # Label (top-right)... xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=category) # Disable sorting... xbmcplugin.addSortMethod(handle=int(sys.argv[1]), sortMethod=xbmcplugin.SORT_METHOD_NONE) # End of directory... xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
def mainlist(params,url,category): logger.info("[nolomires.py] mainlist") # A�ade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar","http://www.nolomires.com/","","") xbmctools.addnewfolder( CHANNELNAME , "LastSearch" , category , "Peliculas Buscadas Recientemente","http://www.nolomires.com/tag/estrenos-2010/","","") xbmctools.addnewfolder( CHANNELNAME , "listvideosMirror" , category , "Ultimos Estrenos","http://www.nolomires.com/","","") xbmctools.addnewfolder( CHANNELNAME , "TagList" , category , "Tag de Estrenos por a�o" ,"http://www.nolomires.com/","","") xbmctools.addnewfolder( CHANNELNAME , "MostWatched" , category , "Peliculas Mas Vistas","http://www.nolomires.com/","","") xbmctools.addnewfolder( CHANNELNAME , "ListaCat" , category , "Listado por Categorias" ,"http://www.nolomires.com/","","") xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Ultimas Pel�culas A�adidas" ,"http://www.nolomires.com/","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[cinetube.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "listpeliconcaratula" , category , "Películas - Novedades (con carátula)" ,"http://www.cinetube.es/peliculas/","","") xbmctools.addnewfolder( CHANNELNAME , "listpelisincaratula" , category , "Películas - Todas (sin carátula)" ,"http://www.cinetube.es/peliculas-todas/","","") xbmctools.addnewfolder( CHANNELNAME , "listalfabetico" , category , "Películas - Alfabético (con carátula)" ,"","","") #xbmctools.addnewfolder( CHANNELNAME , "listtemporadacaratula" , category , "Series - Novedades (con carátula)" ,"http://www.cinetube.es/series/","","") #xbmctools.addnewfolder( CHANNELNAME , "listseriesincaratula" , category , "Series - Todas (sin carátula)" ,"http://www.cinetube.es/series-todas/","","") #xbmctools.addnewfolder( CHANNELNAME , "listalfabeticoseries" , category , "Series - Alfabético (con carátula)" ,"","","") ''' addfolder("Documentales - Novedades","http://www.cinetube.es/subindices/idocumentalesnovedades.html","list") addfolder("Documentales - Todos","http://www.cinetube.es/subindices/idocumentalestodos.html","listtodasseries") addfolder("Documentales - Alfabético","","listalfabeticodocumentales") addfolder("Anime - Series","http://www.cinetube.es/subindices/ianimeseries.html","list") addfolder("Anime - Peliculas","http://www.cinetube.es/subindices/ianimepeliculas.html","list") ''' if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[descargacineclasico.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Aventuras" , "http://descargacineclasico.blogspot.com/search/label/Aventuras?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Ciencia Ficción" , "http://descargacineclasico.blogspot.com/search/label/Ciencia%20Ficcion?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Comedias" , "http://descargacineclasico.blogspot.com/search/label/Comedias?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Drama" , "http://descargacineclasico.blogspot.com/search/label/Drama?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Intriga" , "http://descargacineclasico.blogspot.com/search/label/Intriga?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Románticas" , "http://descargacineclasico.blogspot.com/search/label/Romanticas?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Series" , "http://descargacineclasico.blogspot.com/search/label/Series?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Western" , "http://descargacineclasico.blogspot.com/search/label/Wester?updated-max=&max-results=1000" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Novedades" , "http://descargacineclasico.blogspot.com/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "movielist" , CHANNELNAME , "Todas" , "http://descargacineclasico.blogspot.com/search?updated-max=&max-results=1000" , "", "" ) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params, url, category): logger.info("[tumejortv.py] mainlist") xbmctools.addnewfolder(CHANNELNAME, "newlist", CHANNELNAME, "Novedades", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "moviecategorylist", CHANNELNAME, "Películas - Por categorías", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "moviealphalist", CHANNELNAME, "Películas - Por orden alfabético", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "serienewlist", CHANNELNAME, "Series - Novedades", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "seriealllist", CHANNELNAME, "Series - Todas", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "seriealphalist", CHANNELNAME, "Series - Por orden alfabético", "http://www.tumejortv.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "search", CHANNELNAME, "Buscar", "", "", "") if config.getSetting("singlechannel") == "true": xbmctools.addSingleChannelOptions(params, url, category) # Label (top-right)... xbmcplugin.setPluginCategory(handle=pluginhandle, category=category) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE) xbmcplugin.endOfDirectory(handle=pluginhandle, succeeded=True)
def mainlist(params, url, category): logger.info("[peliculasonlineflv.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder(CHANNELNAME, "listvideos", category, "Peliculas - Novedades", "http://peliculasonlineflv.org/", "", "") xbmctools.addnewfolder(CHANNELNAME, "ListCat", category, "Peliculas - Generos", "http://peliculasonlineflv.org/", "", "") #xbmctools.addnewfolder( CHANNELNAME , "DocuSeries" , category , "Documentales - Series Disponibles" ,"http://peliculasonlineflv.wordpress.com/","","") xbmctools.addnewfolder(CHANNELNAME, "DocuTag", category, "Peliculas - Tag", "http://peliculasonlineflv.org/", "", "") xbmctools.addnewfolder(CHANNELNAME, "DocuARCHIVO", category, "Peliculas - Archivo", "http://peliculasonlineflv.org/", "", "") xbmctools.addnewfolder(CHANNELNAME, "search", category, "Buscar", "", "", "") if config.getSetting("singlechannel") == "true": xbmctools.addSingleChannelOptions(params, url, category) # Propiedades xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=category) xbmcplugin.addSortMethod(handle=int(sys.argv[1]), sortMethod=xbmcplugin.SORT_METHOD_NONE) xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
def mainlist(params, url, category): logger.info("[mcanime.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder(CHANNELNAME, "home", category, "Novedades", "http://www.mcanime.net/", "", "") xbmctools.addnewfolder( CHANNELNAME, "forum", category, "Foro anime en línea", "http://www.mcanime.net/foro/viewforum.php?f=113", "", "", ) xbmctools.addnewfolder( CHANNELNAME, "ddnovedades", category, "Descarga directa - Novedades", "http://www.mcanime.net/descarga_directa/anime", "", "", ) xbmctools.addnewfolder( CHANNELNAME, "ddalpha", category, "Descarga directa - Listado alfabético", "http://www.mcanime.net/descarga_directa/anime", "", "", ) xbmctools.addnewfolder( CHANNELNAME, "ddcat", category, "Descarga directa - Categorías", "http://www.mcanime.net/descarga_directa/anime", "", "", ) xbmctools.addnewfolder( CHANNELNAME, "estrenos", category, "Enciclopedia - Estrenos", "http://www.mcanime.net/enciclopedia/estrenos/anime", "", "", ) if config.getSetting("singlechannel") == "true": xbmctools.addSingleChannelOptions(params, url, category) # Propiedades xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=category) xbmcplugin.addSortMethod(handle=int(sys.argv[1]), sortMethod=xbmcplugin.SORT_METHOD_NONE) xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
def FullList(params,url,category): xbmc.output("[mocosoftx.py] FullList") if url=="": url = "http://www.mocosoftx.com/foro/index.php?action=.xml;type=rss2;limit=500;board=14" # Descarga la página data = scrapertools.cachePage(url) #xbmc.output(data) # Extrae las entradas (carpetas) patron = '<item>(.*?)</item>' matchesITEM = re.compile(patron,re.DOTALL).findall(data) #scrapertools.printMatches(matchesITEM[0]) patronvideos = '<title>(.*?)</title>.*?' patronvideos += '<\!\[CDATA\[<a href="[^"]+" target="_blank"><img src="([^"]+)".*?' for match in matchesITEM: matches = re.compile(patronvideos,re.DOTALL).findall(match) scrapertools.printMatches(matches) for match2 in matches: # Titulo scrapedtitle = match2[0] scrapedtitle = scrapedtitle.replace("<![CDATA[","") scrapedtitle = scrapedtitle.replace("]]>","") # URL scrapedurl = match # Thumbnail scrapedthumbnail = match2[1] # Argumento scrapedplot = "" # Depuracion if (DEBUG): xbmc.output("scrapedtitle="+scrapedtitle) xbmc.output("scrapedurl="+scrapedurl) xbmc.output("scrapedthumbnail="+scrapedthumbnail) # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "detail" , category , scrapedtitle , scrapedurl , scrapedthumbnail , scrapedplot) if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def novedades(params,url,category): logger.info("[documentalesatonline.py] novedades") # Descarga la página data = scrapertools.cachePage(url) #logger.info(data) # Extrae las entradas (carpetas) patronvideos = "<div class='post hentry'>.*?" patronvideos += "<h3 class='post-title entry-title'>[^<]+" patronvideos += "<a href='([^']+)'>([^<]+)</a>.*?" patronvideos += '<img.*?src="([^"]+)"[^>]+>(.*?)<div' matches = re.compile(patronvideos,re.DOTALL).findall(data) scrapertools.printMatches(matches) for match in matches: scrapedtitle = match[1] scrapedurl = urlparse.urljoin(url,match[0]) scrapedthumbnail = match[2] scrapedplot = scrapertools.htmlclean(match[3]) # Depuracion if (DEBUG): logger.info("scrapedtitle="+scrapedtitle) logger.info("scrapedurl="+scrapedurl) logger.info("scrapedthumbnail="+scrapedthumbnail) # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "detail" , category , scrapedtitle , scrapedurl , scrapedthumbnail , scrapedplot) # Página siguiente patronvideos = "<a class='blog-pager-older-link' href='([^']+)' id='Blog1_blog-pager-older-link' title='Entradas antiguas'>Entradas antiguas</a>" matches = re.compile(patronvideos,re.DOTALL).findall(data) scrapertools.printMatches(matches) for match in matches: scrapedtitle = "Página siguiente" scrapedurl = urlparse.urljoin(url,match) scrapedthumbnail = "" scrapedplot = "" # Depuracion if (DEBUG): logger.info("scrapedtitle="+scrapedtitle) logger.info("scrapedurl="+scrapedurl) logger.info("scrapedthumbnail="+scrapedthumbnail) # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , scrapedtitle , scrapedurl , scrapedthumbnail , scrapedplot) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): logger.info("[dibujosanimadosgratis.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "novedades" , CHANNELNAME , "Novedades" , "http://dibujosanimadosgratis.net/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "categorias" , CHANNELNAME , "Por categorías" , "http://dibujosanimadosgratis.net/" , "", "" ) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): logger.info("[capitancinema.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , "Películas - Novedades" ,"http://www.capitancinema.com/peliculas-online-novedades.htm","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[cinegratis.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , "Novedades" ,"http://delatv.com/","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[sevillista.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "novedades" , CHANNELNAME , "Películas - Novedades" , "http://pelis-sevillista56.blogspot.com/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "categorias" , CHANNELNAME , "Películas - Por categoría" , "http://pelis-sevillista56.blogspot.com/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "novedades" , CHANNELNAME , "Series - Novedades" , "http://pelis-sevillista56.blogspot.com/search/label/Series" , "", "" ) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): logger.info("[animeid.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "newlist" , CHANNELNAME , "Novedades" , "http://animeid.com/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "fulllist" , CHANNELNAME , "Listado completo" , "http://animeid.com/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "catlist" , CHANNELNAME , "Listado por categorias" , "http://animeid.com/" , "", "" ) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): logger.info("[documentalesatonline.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , "Novedades" ,"http://documentalesatonline.blogspot.com/","","") xbmctools.addnewfolder( CHANNELNAME , "categorias" , category , "Por categorias","http://documentalesatonline.blogspot.com/","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[megaupload.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "search" , CHANNELNAME , "Introduce el código del fichero de vídeo" , "" , "", "" ) if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[mocosoftx.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "Novedades" , category , "Novedades" ,"http://mocosoftx.com/foro/index.php","","") xbmctools.addnewfolder( CHANNELNAME , "FullList" , category , "Listado Completo" ,"http://www.mocosoftx.com/foro/index.php?action=.xml;type=rss2;limit=500;board=14","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Propiedades xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[vertelenovelasonline.py] mainlist") # Menu principal xbmctools.addnewfolder( CHANNELNAME , "newlist" , CHANNELNAME , "Novedades" , "http://www.vertelenovelasonline.com/" , "", "" ) # Si es un canal independiente, añade "Configuracion", "Descargas" y "Favoritos" if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Asigna el título, desactiva la ordenación, y cierra el directorio xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): xbmc.output("[filmstreaming.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "peliculas" , category , "Film" , "http://www.streaming-ital.com/film/","","") xbmctools.addnewfolder( CHANNELNAME , "peliculas" , category , "Telefilm" , "http://www.streaming-ital.com/telefilm/","","") xbmctools.addnewfolder( CHANNELNAME , "peliculas" , category , "Anime" , "http://www.streaming-ital.com/anime/","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[cine15.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Novedades" ,"http://www.cine15.com/","","") xbmctools.addnewfolder( CHANNELNAME , "peliscat" , category , "Películas - Lista por categorías" ,"http://www.cine15.com/","","") xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar" ,"","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Propiedades xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[veranime.py] mainlist") # Menu principal xbmctools.addnewfolder( CHANNELNAME , "newlist" , CHANNELNAME , "Novedades" , "http://ver-anime.net/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "fulllist" , CHANNELNAME , "Listado completo" , "http://ver-anime.net/" , "", "" ) # Si es un canal independiente, añade "Configuracion", "Descargas" y "Favoritos" if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Asigna el título, desactiva la ordenación, y cierra el directorio xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): xbmc.output("[yotix.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "videolist" , "" , "Novedades","http://yotix.tv/","","") xbmctools.addnewfolder( CHANNELNAME , "listcategorias" , "" , "Listado por categorías","http://yotix.tv/","","") xbmctools.addnewfolder( CHANNELNAME , "search" , "" , "Buscador","http://yotix.tv/","","") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[gratisdocumentales.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "parseweb" , category, "Novedades" , "http://www.gratisdocumentales.com/" , "" , "") xbmctools.addnewfolder( CHANNELNAME , "buscacategorias" , category, "Categorias" , "http://www.gratisdocumentales.com/" , "" , "") xbmctools.addnewfolder( CHANNELNAME , "buscatags" , category, "Tags" , "http://www.gratisdocumentales.com/" , "" , "") xbmctools.addnewfolder( CHANNELNAME , "search" , category, "Búsqueda" , "" , "" , "") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[edumanmovies.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "listvideos" , category , "Películas - Novedades" ,"http://edumanmovies.com/","","") xbmctools.addnewfolder( CHANNELNAME , "peliscat" , category , "Películas - Lista por categorías" ,"http://edumanmovies.com/","","") xbmctools.addnewfolder( CHANNELNAME , "pelisalfa" , category , "Películas - Lista alfabética" ,"","","") xbmctools.addnewfolder( CHANNELNAME , "search" , category , "Buscar" ,"","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): logger.info("[bancodeseries.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , "Novedades" ,"http://bancodeseries.com/","","") xbmctools.addnewfolder( CHANNELNAME , "novedades" , category , "Estrenos" ,"http://bancodeseries.com/taquilla/estrenos/","","") xbmctools.addnewfolder( CHANNELNAME , "ListaCat" , category , "Categorias" ,"http://bancodeseries.com/taquilla/estrenos/","","") xbmctools.addnewfolder( CHANNELNAME , "FullSeriesList" , category , "Listado Completo de Series" ,"http://bancodeseries.com/","","") if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Cierra el directorio xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params,url,category): xbmc.output("[ovasid.py] mainlist") if url=="": url="http://www.ovasid.com/" # Descarga la página data = scrapertools.cachePage(url) #xbmc.output(data) # Extrae las entradas (carpetas) patron = '<div class="item">[^<]+' patron += '<div class="background"></div>[^<]+' patron += '<a href="([^"]+)" ><img class="imgl" src="([^"]+)"/></a>[^<]+' patron += '<div class="content">[^<]+' patron += '<h1>([^<]+)</h1>' matches = re.compile(patron,re.DOTALL).findall(data) scrapertools.printMatches(matches) for match in matches: # Titulo scrapedtitle = match[2] # URL scrapedurl = urlparse.urljoin(url,match[0]) # Thumbnail scrapedthumbnail = urlparse.urljoin(url,match[1]) # Argumento scrapedplot = "" # Depuracion if (DEBUG): xbmc.output("title=["+scrapedtitle+"], url=["+scrapedurl+"], thumbnail=["+scrapedthumbnail+"]") # Añade al listado de XBMC xbmctools.addnewfolder( CHANNELNAME , "detail" , category , scrapedtitle , scrapedurl , scrapedthumbnail , scrapedplot ) if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )
def mainlist(params,url,category): xbmc.output("[stagevusite.py] mainlist") # Añade al listado de XBMC addfolder("Buscar","http://stagevu.com","search") if xbmctools.getPluginSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category=category ) # Disable sorting... xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE ) # End of directory... xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def mainlist(params, url, category): logger.info("[pelispekes.py] mainlist") # Añade al listado de XBMC xbmctools.addnewfolder(CHANNELNAME, "novedades", category, "Novedades", "http://pelispekes.com/", "", "") xbmctools.addnewfolder(CHANNELNAME, "Listcat", category, "Categorias", "http://pelispekes.com/", "", "") if config.getSetting("singlechannel") == "true": xbmctools.addSingleChannelOptions(params, url, category) # Cierra el directorio xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category=category) xbmcplugin.addSortMethod(handle=int(sys.argv[1]), sortMethod=xbmcplugin.SORT_METHOD_NONE) xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
def mainlist(params,url,category): logger.info("[divxonline.py] mainlist") xbmctools.addnewfolder( CHANNELNAME , "novedades" , CHANNELNAME , "Novedades" , "http://www.divxonline.info/" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "megavideo" , CHANNELNAME , "Películas en Megavideo" , "" , "", "" ) # xbmctools.addnewfolder( CHANNELNAME , "veoh" , CHANNELNAME , "Películas en Veoh" , "" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "pelisconficha" , CHANNELNAME , "Estrenos" , "http://www.divxonline.info/peliculas-estreno/1.html" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "pelisporletra" , CHANNELNAME , "Películas de la A a la Z" , "" , "", "" ) xbmctools.addnewfolder( CHANNELNAME , "pelisporanio" , CHANNELNAME , "Películas por año de estreno" , "" , "", "" ) if config.getSetting("singlechannel")=="true": xbmctools.addSingleChannelOptions(params,url,category) # Label (top-right)... xbmcplugin.setPluginCategory( handle=pluginhandle, category=category ) xbmcplugin.addSortMethod( handle=pluginhandle, sortMethod=xbmcplugin.SORT_METHOD_NONE ) xbmcplugin.endOfDirectory( handle=pluginhandle, succeeded=True )