From 209af696b2e98d0b75ba17c95b8ab055c801f408 Mon Sep 17 00:00:00 2001 From: danielr460 Date: Mon, 13 Nov 2017 09:24:14 -0500 Subject: [PATCH] =?UTF-8?q?Serieslan:=20Arreglos=20menores=20en=20presenta?= =?UTF-8?q?ci=C3=B3n=20de=20los=20datos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/serieslan.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugin.video.alfa/channels/serieslan.py b/plugin.video.alfa/channels/serieslan.py index 65490a8a..375f07c8 100644 --- a/plugin.video.alfa/channels/serieslan.py +++ b/plugin.video.alfa/channels/serieslan.py @@ -92,7 +92,6 @@ def episodios(item): itemlist = [] data = httptools.downloadpage(item.url).data - logger.debug("info %s " % data) # obtener el numero total de episodios total_episode = 0 @@ -185,7 +184,6 @@ def findvideos(item): data = eval(data) if type(data) == list: - logger.debug("inside") video_url = url_server % (txc(ide, base64.decodestring(data[2]))) server = "openload" if " SUB" in item.title: @@ -195,7 +193,11 @@ def findvideos(item): else: lang = "Latino" 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)) autoplay.start(itemlist, item)