Fix Community Channels
This commit is contained in:
@@ -286,9 +286,9 @@ def get_seasons(item):
|
|||||||
'get_newest'] and defp and not item.disable_pagination:
|
'get_newest'] and defp and not item.disable_pagination:
|
||||||
itemlist = pagination(item, itemlist)
|
itemlist = pagination(item, itemlist)
|
||||||
|
|
||||||
if show_seasons:
|
# if show_seasons:
|
||||||
support.videolibrary(itemlist, item)
|
support.videolibrary(itemlist, item)
|
||||||
support.download(itemlist, item)
|
support.download(itemlist, item)
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|
||||||
@@ -393,6 +393,9 @@ def episodios(item, json='', key='', itemlist=[]):
|
|||||||
filterseason=str(season),
|
filterseason=str(season),
|
||||||
path=item.path))
|
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:
|
elif defp and inspect.stack()[1][3] not in ['get_seasons'] and not item.disable_pagination:
|
||||||
if Pagination and len(itemlist) >= Pagination:
|
if Pagination and len(itemlist) >= Pagination:
|
||||||
if inspect.stack()[1][3] != 'get_newest':
|
if inspect.stack()[1][3] != 'get_newest':
|
||||||
@@ -400,9 +403,10 @@ def episodios(item, json='', key='', itemlist=[]):
|
|||||||
item.page = pag + 1
|
item.page = pag + 1
|
||||||
item.thumbnail = support.thumb()
|
item.thumbnail = support.thumb()
|
||||||
itemlist.append(item)
|
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.videolibrary(itemlist, item)
|
||||||
support.download(itemlist, item)
|
support.download(itemlist, item)
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user