From a620665c0f455680911274895073bd98dac3d46b Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Mon, 28 May 2018 11:02:20 -0500 Subject: [PATCH] tiotorrent: fix --- plugin.video.alfa/channels/tiotorrent.py | 86 +++++++++++++++++++----- 1 file changed, 68 insertions(+), 18 deletions(-) diff --git a/plugin.video.alfa/channels/tiotorrent.py b/plugin.video.alfa/channels/tiotorrent.py index ad77c404..827d6caf 100644 --- a/plugin.video.alfa/channels/tiotorrent.py +++ b/plugin.video.alfa/channels/tiotorrent.py @@ -226,33 +226,83 @@ def episodesxseasons(item): return itemlist[::-1] +# def findvideos(item): +# logger.info() +# itemlist=[] +# data = get_source(item.url) +# patron = ".*?<\/a>(.*?)<\/i>.*? 0 and item.extra != 'findvideos': +# itemlist.append(Item(channel=item.channel, +# title='[COLOR yellow]AƱadir esta pelicula a la videoteca[/COLOR]', +# url=item.url, +# action="add_pelicula_to_library", +# extra="findvideos", +# contentTitle=item.contentTitle +# )) +# +# return itemlist + + def findvideos(item): logger.info() itemlist=[] data = get_source(item.url) - patron = ".*?<\/a>(.*?)<\/i>.*? 0 and item.extra != 'findvideos': itemlist.append(Item(channel=item.channel,