From 26da64bceb34cf863605752bfd80de58f95cc818 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 11 Jul 2022 09:43:05 +0200 Subject: [PATCH] Fix Community Channels --- specials/community.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specials/community.py b/specials/community.py index fdc08ffa..e12a85b0 100644 --- a/specials/community.py +++ b/specials/community.py @@ -728,6 +728,7 @@ def load_and_check(item): # set extra values def set_extra_values(item, json, path): logger.debug() + # support.dbg() ret = Item() for key in json: if key == 'quality': @@ -743,7 +744,7 @@ def set_extra_values(item, json, path): elif key == 'fanart': ret.fanart = json[key] if ':/' in json[key] else filetools.join(path, json[key]) elif key in ['url', 'link']: - ret.url = json[key] if ':/' in json[key] or type(json[key]) == dict else filetools.join(path, json[key]) + ret.url = json[key] if ':/' in json[key] or type(json[key]) in (dict, OrderedDict) else filetools.join(path, json[key]) elif key == 'seasons_list': ret.url = {} ret.url['seasons_list'] = json['seasons_list']