Newpct1: mejoras internas

This commit is contained in:
Kingbox
2018-07-13 21:05:20 +02:00
parent 2804bcdb4d
commit 600edda421
2 changed files with 8 additions and 4 deletions

View File

@@ -98,7 +98,10 @@ def mainlist(item):
def settingCanal(item):
from platformcode import platformtools
return platformtools.show_channel_settings()
platformtools.show_channel_settings()
platformtools.itemlist_refresh()
return
def submenu(item):

View File

@@ -198,6 +198,9 @@ def post_tmdb_listado(item, itemlist):
for item_local in itemlist: #Recorremos el Itenlist generado por el canal
title = item_local.title
#logger.debug(item_local)
item_local.last_page = 0
del item_local.last_page #Borramos restos de paginación
if item_local.contentSeason_save: #Restauramos el num. de Temporada
item_local.contentSeason = item_local.contentSeason_save
@@ -710,9 +713,7 @@ def post_tmdb_findvideos(item, itemlist):
title_gen = '%s: %s' % (item.category.capitalize(), title_gen)
#Pintamos el pseudo-título con toda la información disponible del vídeo
item.action = ""
item.server = ""
itemlist.append(item.clone(title=title_gen)) #Título con todos los datos del vídeo
itemlist.append(item.clone(action="", server = "", title=title_gen)) #Título con todos los datos del vídeo
#agregamos la opción de Añadir a Videoteca para péliculas (no series)
if item.contentType == 'movie' and item.contentChannel != "videolibrary":