From 4caad5d27fb623b2196f3906ced78e6b43fb291d Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 20 Dec 2021 19:14:44 +0100 Subject: [PATCH] Fix Community Channels --- specials/community.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/specials/community.py b/specials/community.py index 2e96cd1c..a5ba8d5a 100644 --- a/specials/community.py +++ b/specials/community.py @@ -286,9 +286,9 @@ def get_seasons(item): 'get_newest'] and defp and not item.disable_pagination: itemlist = pagination(item, itemlist) - if show_seasons: - support.videolibrary(itemlist, item) - support.download(itemlist, item) + # if show_seasons: + support.videolibrary(itemlist, item) + support.download(itemlist, item) return itemlist @@ -393,6 +393,9 @@ def episodios(item, json='', key='', itemlist=[]): filterseason=str(season), path=item.path)) + support.videolibrary(itemlist, item) + support.download(itemlist, item) + elif defp and inspect.stack()[1][3] not in ['get_seasons'] and not item.disable_pagination: if Pagination and len(itemlist) >= Pagination: if inspect.stack()[1][3] != 'get_newest': @@ -400,9 +403,10 @@ def episodios(item, json='', key='', itemlist=[]): item.page = pag + 1 item.thumbnail = support.thumb() itemlist.append(item) - if not show_seasons: + + if inspect.stack()[1][3] not in ['get_seasons'] and not show_seasons: support.videolibrary(itemlist, item) - support.download(itemlist, item) + support.download(itemlist, item) return itemlist