From 835ffe76cf5dfdb74124b738a86331c4e34725d2 Mon Sep 17 00:00:00 2001 From: Alfa-beto <30815244+Alfa-beto@users.noreply.github.com> Date: Fri, 22 Mar 2019 15:56:23 -0300 Subject: [PATCH] comunidad --- plugin.video.alfa/channelselector.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin.video.alfa/channelselector.py b/plugin.video.alfa/channelselector.py index da98f9ee..3fabe6d0 100644 --- a/plugin.video.alfa/channelselector.py +++ b/plugin.video.alfa/channelselector.py @@ -87,6 +87,9 @@ def getchanneltypes(view="thumb_"): channel_type=channel_type, viewmode="thumbnails", thumbnail=get_thumb("channels_%s.png" % channel_type, view))) + itemlist.append(Item(title='Comunidad', channel="community", action="mainlist", view=view, + category=title, channel_type="all", thumbnail=get_thumb("channels_community.png", view), + viewmode="thumbnails")) return itemlist @@ -119,6 +122,9 @@ def filterchannels(category, view="thumb_"): try: channel_parameters = channeltools.get_channel_parameters(channel) + if channel_parameters["channel"] == 'community': + continue + # si el canal no es compatible, no se muestra if not channel_parameters["compatible"]: continue