Serieslan: Arreglos menores en presentación de los datos

This commit is contained in:
danielr460
2017-11-13 09:24:14 -05:00
parent 03589b9c39
commit 209af696b2
+5 -3
View File
@@ -92,7 +92,6 @@ def episodios(item):
itemlist = [] itemlist = []
data = httptools.downloadpage(item.url).data data = httptools.downloadpage(item.url).data
logger.debug("info %s " % data)
# obtener el numero total de episodios # obtener el numero total de episodios
total_episode = 0 total_episode = 0
@@ -185,7 +184,6 @@ def findvideos(item):
data = eval(data) data = eval(data)
if type(data) == list: if type(data) == list:
logger.debug("inside")
video_url = url_server % (txc(ide, base64.decodestring(data[2]))) video_url = url_server % (txc(ide, base64.decodestring(data[2])))
server = "openload" server = "openload"
if " SUB" in item.title: if " SUB" in item.title:
@@ -195,7 +193,11 @@ def findvideos(item):
else: else:
lang = "Latino" lang = "Latino"
title = "Enlace encontrado en " + server + " [" + lang + "]" title = "Enlace encontrado en " + server + " [" + lang + "]"
itemlist.append(Item(channel=item.channel, action="play", title=title, show=show, url=video_url, plot=item.plot, if item.contentChannel=='videolibrary':
itemlist.append(item.clone(channel=item.channel, action="play", url=video_url,
thumbnail=thumbnail, server=server, folder=False))
else:
itemlist.append(Item(channel=item.channel, action="play", title=title, show=show, url=video_url, plot=item.plot,
thumbnail=thumbnail, server=server, folder=False)) thumbnail=thumbnail, server=server, folder=False))
autoplay.start(itemlist, item) autoplay.start(itemlist, item)