From d110e52c1932adecbd818d280770f543d33bcd6c Mon Sep 17 00:00:00 2001 From: mac12m99 Date: Thu, 18 Apr 2019 20:07:15 +0200 Subject: [PATCH] temp workaround for videolibrary --- plugin.video.alfa/lib/generictools.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugin.video.alfa/lib/generictools.py b/plugin.video.alfa/lib/generictools.py index 8f027096..c1167ce1 100644 --- a/plugin.video.alfa/lib/generictools.py +++ b/plugin.video.alfa/lib/generictools.py @@ -1650,17 +1650,17 @@ def fail_over_newpct1(item, patron, patron2=None, timeout=None): def verify_channel(channel): - + return channel #Lista con los datos de los canales alternativos #Cargamos en .json del canal para ver las listas de valores en settings - clones = channeltools.get_channel_json(channel_py) - for settings in clones['settings']: #Se recorren todos los settings - if settings['id'] == "clonenewpct1_channels_list": #Encontramos en setting - clones = settings['default'] #Carga lista de clones - channel_alt = "'%s'" % channel - if channel_alt in clones: #Si es un clon se pone como canal newpct1, si no se deja - channel = channel_py - return channel + # clones = channeltools.get_channel_json(channel_py) + # for settings in clones['settings']: #Se recorren todos los settings + # if settings['id'] == "clonenewpct1_channels_list": #Encontramos en setting + # clones = settings['default'] #Carga lista de clones + # channel_alt = "'%s'" % channel + # if channel_alt in clones: #Si es un clon se pone como canal newpct1, si no se deja + # channel = channel_py + # return channel def web_intervenida(item, data, desactivar=True):