Bueno me respondo a mi mismo.
Le he echado un ojo al código, y por lo visto no se parseaba bien el json enviado desde series.ly.
Seguramente lo han debido cambiar desde que se implemento.
Para solucionarlo sólo hay que cambiar unas lineas de código...
Os pongo el metodo que hay que cambiar y cuelgo el canal.
Probado en un atv2. con pelisalacarta 3.2.7
Código: Seleccionar todo
def peli_links(item):
logger.info("[seriesly.py] peli_links")
# TOKENS
auth_token, user_token = item.extra.split('|')
auth_token, user_token, logged, nologgedmessage = getCredentials(auth_token, user_token)
if (not logged):
itemlist = []
itemlist.append( Item(channel=__channel__, title=nologgedmessage, action="mainlist"))
return itemlist
post = 'auth_token=%s&user_token=%s' % ( qstr(auth_token), qstr(user_token) )
# Extrae las entradas (carpetas)
# {"title":"?","idp":"?", "synopsis":"?", "year":"?", "seriesly_score":?d, "participants_score":"?", "genre":"terror", "poster":"http://?","thumb":"http://?","small_thumb":"http://?","links":
# [{"language":"?","subtitles":"yes/no","quality":"?","part":"?","uploader":"?","highDef":"0/1","server":"?","url_cineraculo":"?","url_megavideo":"?"}]
# }
data = scrapertools.cache_page(item.url, post=post)
linkList = load_json(data)
if linkList == None : linkList = []
logger.info("hay %d videos" % len(linkList))
itemlist = []
try:
for link in linkList['links']:
#hd = link['highDef']
#if hd == '0' : link['hdtag'] = ''
#elif hd == '1' : link['hdtag'] = ' (HD)'
#else : link['hdtag'] = ' (?)'
#Neofreno: Cambio a partir de aquí
link['titletag'] =linkList['title'];
itemlist.append(
Item(channel=item.channel,
action = "links",
title = '%(host)s - %(lang)s %(quality)s' % link,
url = qstr(link['url'].strip()),
thumbnail = item.thumbnail,
plot = linkList['synopsis'],
extra = ''
)
)
except:
import sys
for line in sys.exc_info():
logger.error( "%s" % line )
return itemlist
Edito. Se veian los servidores pero las urls generadas estaban mal, y entonces las pelis no llegaban a cargarse.
Ahora ya funciona