Gestione viste per "Adesso in Onda"

This commit is contained in:
Alhaziel01
2022-01-15 19:40:23 +01:00
parent 938b1b5c69
commit 64fe224029

View File

@@ -421,7 +421,7 @@ def render_items(itemlist, parent_item):
if Type: xbmcplugin.setContent(handle=int(sys.argv[1]), content=Type)
if mode: xbmc.executebuiltin('Container.SetViewMode(%s)' % mode)
xbmcplugin.endOfDirectory(_handle, succeeded=True, updateListing=False, cacheToDisc= True if parent_item.action in ['news', 'search'] else False)
xbmcplugin.endOfDirectory(_handle, succeeded=True, updateListing=False, cacheToDisc= True if parent_item.action in ['news', 'search', 'new_search', 'now_on_tv'] else False)
from core import db; db.close()