Gracias Jesús, ya he conseguido que funcione el servidor y que en el TV me reconozca todas las carpetas de los diferentes portales de peliculas.
El problema es que cuando abro una carpeta "final", la que se supone que tendria que tener las pelis, en el TV aparece la carpeta vacia y en ms-dos me pone " File "C:\python27\lib\urllib2.py", lin
raise URLError('no host given')
URLError: <urlopen error no host given>"
Te dejo el pantallazo completo desde que carga el server hasta que me da el error justo cuando entro en la carpeta que contiene las pelis:
Microsoft Windows [Versión 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
C:\Users\Javi>cd..
C:\Users>cd..
C:\>cd alacarta
C:\alacarta>cd pelisalacarta
C:\alacarta\pelisalacarta>pelisalacarta
C:\alacarta\pelisalacarta>SET PATH=C:\python27;
C:\alacarta\pelisalacarta>cd c:\alacarta\pelisalacarta
C:\alacarta\pelisalacarta>python pelisalacarta.py
pelisalacarta server init...
PLATFORM_NAME=wiimc
INFO 0301 13:49:38 config wiimc config 3.2
INFO 0301 13:49:38 config runtime path = C:\alacarta\pelisalacarta
INFO 0301 13:49:38 config data path = C:\Users\Javi\.pelisalacarta
INFO 0301 13:49:38 config language file path C:\alacarta\pelisalaca
rta\resources\language\Spanish\strings.xml
INFO 0301 13:49:38 config config file C:\Users\Javi\.pelisalacarta\
pelisalacarta.conf
INFO 0301 13:49:38 config temp path = C:\Users\Javi\.pelisalacarta\
test
Iniciando el servidor en
http://192.168.0.90:8080
La URL para wiimc es
http://192.168.0.90:8080/wiimc
INFO 0301 13:49:38 logger Using WiiMC logger
INFO 0301 13:49:38 pelisalacarta download_path = /Users/jesus/Downloads/xb
mc/
INFO 0301 13:49:38 pelisalacarta download_list_path = /
INFO 0301 13:49:38 pelisalacarta bookmark_path = /
INFO 0301 13:50:05 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:05 pelisalacarta PATH: /wiimc/cinetube/mainlist/none/none
/none/none/none/none/playlist.plx
INFO 0301 13:50:05 pelisalacarta HEADERS:
INFO 0301 13:50:05 pelisalacarta host=192.168.0.90:8080
INFO 0301 13:50:05 pelisalacarta connection=Close
INFO 0301 13:50:05 pelisalacarta HOST: 192.168.0.90:8080
INFO 0301 13:50:05 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:05 launcher getitems
INFO 0301 13:50:05 launcher ruta=/wiimc/cinetube/mainlist/none/none/n
one/none/none/none/playlist.plx
INFO 0301 13:50:05 launcher | wiimc | cinetube | mainlist | none |
none | none | none | none | none | playlist.plx |
INFO 0301 13:50:05 launcher channel=cinetube, accion=mainlist, url=no
ne, server=none, title=none, extra=none, category=none, fulltitle=none
INFO 0301 13:50:05 launcher Verificando actualizaci├│n del canal
INFO 0301 13:50:05 launcher Not cached
INFO 0301 13:50:05 launcher Items devueltos
INFO 0301 13:50:05 launcher Películas | | menupeliculas
INFO 0301 13:50:05 launcher Series | | menuseries
INFO 0301 13:50:05 launcher Documentales | | menudocumentales
INFO 0301 13:50:05 launcher Anime | | menuanime
INFO 0301 13:50:05 launcher Buscar | | search
INFO 0301 13:50:05 launcher Buscar por Actor/Director | actor-direct
or | search
INFO 0301 13:50:05 launcher Iniciar sesion | | login
INFO 0301 13:50:05 launcher Nivel intermedio
INFO 0301 13:50:05 launcher Nivel intermedio
INFO 0301 13:50:05 launcher Nivel intermedio
INFO 0301 13:50:05 launcher Nivel intermedio
INFO 0301 13:50:05 launcher Buscador
INFO 0301 13:50:05 launcher Buscador
INFO 0301 13:50:05 launcher Nivel intermedio
192.168.0.90 - - [03/Jan/2012 13:50:05] "GET /wiimc/cinetube/mainlist/none/none/
none/none/none/none/playlist.plx HTTP/1.1" 200 -
INFO 0301 13:50:05 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:12 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:12 pelisalacarta PATH: /wiimc/cinetube/menupeliculas/none
/directo/Pel%C3%ADculas////playlist.plx
INFO 0301 13:50:12 pelisalacarta HEADERS:
INFO 0301 13:50:12 pelisalacarta host=192.168.0.90:8080
INFO 0301 13:50:12 pelisalacarta connection=Close
INFO 0301 13:50:12 pelisalacarta HOST: 192.168.0.90:8080
INFO 0301 13:50:12 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:12 launcher getitems
INFO 0301 13:50:12 launcher ruta=/wiimc/cinetube/menupeliculas/none/d
irecto/Pel%C3%ADculas////playlist.plx
INFO 0301 13:50:12 launcher | wiimc | cinetube | menupeliculas | no
ne | directo | Pel%C3%ADculas | | | | playlist.plx |
INFO 0301 13:50:12 launcher channel=cinetube, accion=menupeliculas, u
rl=none, server=directo, title=Películas, extra=, category=, fulltitle=
INFO 0301 13:50:12 launcher Not cached
INFO 0301 13:50:12 launcher Items devueltos
INFO 0301 13:50:12 launcher Películas - Novedades |
http://www.cine
tube.es/peliculas/ | peliculas
INFO 0301 13:50:12 launcher Películas - Estrenos de Cine | http://w
ww.cinetube.es/peliculas/estrenos-de-cine/ | documentales
INFO 0301 13:50:12 launcher Películas - Estrenos en DVD |
http://ww
w.cinetube.es/peliculas/estrenos-dvd/ | documentales
INFO 0301 13:50:12 launcher Películas - Nueva Calidad |
http://www.
cinetube.es/peliculas/nueva-calidad/ | documentales
INFO 0301 13:50:12 launcher Películas - A-Z | peliculas | listalfab
etico
INFO 0301 13:50:12 launcher Películas - Categorías | peliculas | l
istcategorias
INFO 0301 13:50:12 launcher Buscar Películas | peliculas | search
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Nivel intermedio
INFO 0301 13:50:12 launcher Buscador
192.168.0.90 - - [03/Jan/2012 13:50:12] "GET /wiimc/cinetube/menupeliculas/none/
directo/Pel%C3%ADculas////playlist.plx HTTP/1.1" 200 -
INFO 0301 13:50:12 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:14 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:14 pelisalacarta PATH: /wiimc/cinetube/peliculas/http%3A%
252F%252Fwww.cinetube.es%252Fpeliculas%252F/directo/Pel%C3%ADculas+-+Novedades//
//playlist.plx
INFO 0301 13:50:14 pelisalacarta HEADERS:
INFO 0301 13:50:14 pelisalacarta host=192.168.0.90:8080
INFO 0301 13:50:14 pelisalacarta connection=Close
INFO 0301 13:50:14 pelisalacarta HOST: 192.168.0.90:8080
INFO 0301 13:50:14 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:14 launcher getitems
INFO 0301 13:50:14 launcher ruta=/wiimc/cinetube/peliculas/http%3A%25
2F%252Fwww.cinetube.es%252Fpeliculas%252F/directo/Pel%C3%ADculas+-+Novedades////
playlist.plx
INFO 0301 13:50:14 launcher | wiimc | cinetube | peliculas | http%3
A%252F%252Fwww.cinetube.es%252Fpeliculas%252F | directo | Pel%C3%ADculas+-+Noved
ades | | | | playlist.plx |
INFO 0301 13:50:14 launcher channel=cinetube, accion=peliculas, url=h
ttp:%2F%2Fwww.cinetube.es%2Fpeliculas%2F, server=directo, title=Películas - Nov
edades, extra=, category=, fulltitle=
INFO 0301 13:50:14 launcher Not cached
----------------------------------------
Exception happened during processing of request from ('192.168.0.90', 55451)
Traceback (most recent call last):
File "C:\python27\lib\SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\python27\lib\SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "C:\python27\lib\SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\python27\lib\SocketServer.py", line 639, in __init__
self.handle()
File "C:\python27\lib\BaseHTTPServer.py", line 337, in handle
self.handle_one_request()
File "C:\python27\lib\BaseHTTPServer.py", line 325, in handle_one_request
method()
File "pelisalacarta.py", line 51, in do_GET
respuesta = launcher.controller(plugin_name=PLUGIN_NAME,port=PORT,host=host,
path=self.path,headers=self.headers)
File "C:\alacarta\pelisalacarta\platformcode\wiimc\launcher.py", line 100, in
controller
itemlist,channel = getitems(path)
File "C:\alacarta\pelisalacarta\platformcode\wiimc\launcher.py", line 298, in
getitems
exec "itemlist.extend( "+channel+"."+accion+"(senderitem) )"
File "<string>", line 1, in <module>
File "C:\alacarta\pelisalacarta\pelisalacarta\channels\cinetube.py", line 216,
in peliculas
data = scrapertools.cachePage(url)
File "C:\alacarta\pelisalacarta\core\scrapertools.py", line 69, in cachePage
data = downloadpage(url,post,headers)
File "C:\alacarta\pelisalacarta\core\scrapertools.py", line 417, in downloadpa
ge
handle = urlopen(req)
File "C:\python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\python27\lib\urllib2.py", line 390, in open
req = meth(req)
File "C:\python27\lib\urllib2.py", line 1087, in do_request_
raise URLError('no host given')
URLError: <urlopen error no host given>
----------------------------------------
INFO 0301 13:50:14 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:14 pelisalacarta PATH: /wiimc/cinetube/peliculas/http%3A%
252F%252Fwww.cinetube.es%252Fpeliculas%252F/directo/Pel%C3%ADculas+-+Novedades//
//playlist.plx
INFO 0301 13:50:14 pelisalacarta HEADERS:
INFO 0301 13:50:14 pelisalacarta host=192.168.0.90:8080
INFO 0301 13:50:14 pelisalacarta connection=Close
INFO 0301 13:50:14 pelisalacarta HOST: 192.168.0.90:8080
INFO 0301 13:50:14 pelisalacarta -----------------------------------------
------------------------
INFO 0301 13:50:14 launcher getitems
INFO 0301 13:50:14 launcher ruta=/wiimc/cinetube/peliculas/http%3A%25
2F%252Fwww.cinetube.es%252Fpeliculas%252F/directo/Pel%C3%ADculas+-+Novedades////
playlist.plx
INFO 0301 13:50:14 launcher | wiimc | cinetube | peliculas | http%3
A%252F%252Fwww.cinetube.es%252Fpeliculas%252F | directo | Pel%C3%ADculas+-+Noved
ades | | | | playlist.plx |
INFO 0301 13:50:14 launcher channel=cinetube, accion=peliculas, url=h
ttp:%2F%2Fwww.cinetube.es%2Fpeliculas%2F, server=directo, title=Películas - Nov
edades, extra=, category=, fulltitle=
INFO 0301 13:50:14 launcher Not cached
----------------------------------------
Exception happened during processing of request from ('192.168.0.90', 55453)
Traceback (most recent call last):
File "C:\python27\lib\SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\python27\lib\SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "C:\python27\lib\SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\python27\lib\SocketServer.py", line 639, in __init__
self.handle()
File "C:\python27\lib\BaseHTTPServer.py", line 337, in handle
self.handle_one_request()
File "C:\python27\lib\BaseHTTPServer.py", line 325, in handle_one_request
method()
File "pelisalacarta.py", line 51, in do_GET
respuesta = launcher.controller(plugin_name=PLUGIN_NAME,port=PORT,host=host,
path=self.path,headers=self.headers)
File "C:\alacarta\pelisalacarta\platformcode\wiimc\launcher.py", line 100, in
controller
itemlist,channel = getitems(path)
File "C:\alacarta\pelisalacarta\platformcode\wiimc\launcher.py", line 298, in
getitems
exec "itemlist.extend( "+channel+"."+accion+"(senderitem) )"
File "<string>", line 1, in <module>
File "C:\alacarta\pelisalacarta\pelisalacarta\channels\cinetube.py", line 216,
in peliculas
data = scrapertools.cachePage(url)
File "C:\alacarta\pelisalacarta\core\scrapertools.py", line 69, in cachePage
data = downloadpage(url,post,headers)
File "C:\alacarta\pelisalacarta\core\scrapertools.py", line 417, in downloadpa
ge
handle = urlopen(req)
File "C:\python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\python27\lib\urllib2.py", line 390, in open
req = meth(req)
File "C:\python27\lib\urllib2.py", line 1087, in do_request_
raise URLError('no host given')
URLError: <urlopen error no host given>
----------------------------------------
Me imagino que ya estoy cerca y que será una tonteria...
Gracias de antemano