From 636160a6237624c0326821d1952a840003b7038f Mon Sep 17 00:00:00 2001 From: m588416 Date: Thu, 14 Sep 2017 22:22:42 +0200 Subject: [PATCH] Fix autoplay no inicializado --- plugin.video.alfa/channels/autoplay.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin.video.alfa/channels/autoplay.py b/plugin.video.alfa/channels/autoplay.py index 12cedf2b..456ace77 100644 --- a/plugin.video.alfa/channels/autoplay.py +++ b/plugin.video.alfa/channels/autoplay.py @@ -88,6 +88,9 @@ def start(itemlist, item): # Obtiene el nodo AUTOPLAY desde el json autoplay_node = jsontools.get_node_from_file('autoplay', 'AUTOPLAY') + if not item.channel in autoplay_node: + return itemlist + # Agrega servidores y calidades que no estaban listados a autoplay_node new_options = check_value(item.channel, itemlist)