Help needed to add new channels to pelisalacarta
Publicado: 16 Jul 2009, 06:18
please help how to add new website for your plugin:(
Soporte oficial de pelisalacarta y tvalacarta - Ayuda con tu media center
https://www.mimediacenter.info/foro/
please help how to add new website for your plugin:(
http://www.tvfilmy.pl/ and http://www.wyluzujsie.pl/infusions/movie/movie.php you are the best
my mail piogrys@hotmail.com maybe you can send for mi something help how modified your code .and with one script must be modified
Código: Seleccionar todo
addfolder("Pintadibujos","pintadibujos","mainlist")
addfolder("DeLaTV","delatv","mainlist")
addfolder("Yotix.tv","yotix","mainlist")
Código: Seleccionar todo
addfolder("tvfilmy.pl","tvfilmy","mainlist")
Código: Seleccionar todo
tvfilmy.png
Código: Seleccionar todo
tvfilmy.py
Código: Seleccionar todo
CHANNELNAME = "tvfilmy"
Código: Seleccionar todo
url = "http://www.tvfilmy.pl/"
Código: Seleccionar todo
patron = '<div class="item">[^<]+'
matches = re.compile(patron,re.DOTALL).findall(data)
Código: Seleccionar todo
<div class="middle"><div class="text">
<p><a href="index.php?p=ogladaj&id=1551" title="Tsotsi / Thug [2005] Lektor" ><img src="images/1240658045_Tsotsi (2005) lektor.jpg"
Código: Seleccionar todo
patron='<div class="middle"><div class="text">[^<]+<p><a href="([^"]+)" title="([^"]+)" ><img src="([^"]+)"
Código: Seleccionar todo
# Title of the movie in the list
scrapedtitle = match[1]
# URL for the detail page of the movie (in the example is relative to the actual URL)
scrapedurl = urlparse.urljoin(url,match[0])
# Thumbnail for the movie (in the example is relative to the actual URL)
scrapedthumbnail = urlparse.urljoin(url,match[2])
# Plot for the movie
scrapedplot = ""
Código: Seleccionar todo
xbmctools.addthumbnailfolder( CHANNELNAME , scrapedtitle , scrapedurl , scrapedthumbnail, "detail" )
Código: Seleccionar todo
listavideos = servertools.findvideos(data)
Código: Seleccionar todo
xbmctools.addvideo( CHANNELNAME , "Megavideo - "+video[0] , video[1] , category , video[2] )
Código: Seleccionar todo
xbmctools.playvideo(CHANNELNAME,server,url,category,title,thumbnail,plot)