def playerror(params,url,category): xbmc.output("[descargadoslist.py] play") title = unicode( xbmc.getInfoLabel( "ListItem.Title" ), "utf-8" ) thumbnail = xbmc.getInfoImage( "ListItem.Thumb" ) plot = unicode( xbmc.getInfoLabel( "ListItem.Plot" ), "utf-8" ) server = params["server"] xbmctools.playvideo4(CHANNELNAME,server,url,category,title,thumbnail,plot)
def playerror(params,url,category): logger.info("[descargadoslist.py] play") title = unicode( xbmc.getInfoLabel( "ListItem.Title" ), "utf-8" ) thumbnail = xbmc.getInfoImage( "ListItem.Thumb" ) plot = unicode( xbmc.getInfoLabel( "ListItem.Plot" ), "utf-8" ) server = params["server"] xbmctools.playvideo4(CHANNELNAME,server,url,category,title,thumbnail,plot)
def play(params,url,category): logger.info("[myhentaitube.py] detail") title = urllib.unquote_plus( params.get("title") ) thumbnail = urllib.unquote_plus( params.get("thumbnail") ) plot = urllib.unquote_plus( params.get("plot") ) # Descarga la pagina data = scrapertools.cachePage(url) patron = "QT_WriteOBJECT_XHTML\('([^']+)'" matches = re.compile(patron,re.DOTALL).findall(data) if len(matches)>0: url = matches[0] server="Directo" xbmctools.playvideo4(CHANNELNAME,server,url,category,title,thumbnail,plot)
def play(params,url,category): logger.info("[tubehentai.py] detail") title = urllib.unquote_plus( params.get("title") ) thumbnail = urllib.unquote_plus( params.get("thumbnail") ) plot = urllib.unquote_plus( params.get("plot") ) # Descarga la página data = scrapertools.cachePage(url) #logger.info(data) patron = 's1.addParam\("flashvars","settings=http\://www.tubehentai.com/playerConfig.php\?([^"]+)"\)' matches = re.compile(patron,re.DOTALL).findall(data) if len(matches)>0: url = "http://media.tubehentai.com/videos/" + matches[0] server="Directo" xbmctools.playvideo4(CHANNELNAME,server,url,category,title,thumbnail,plot) # ------------------------------------------------------------------------------------