- Chiusura finestra server dopo standby

- Menu contestuale in finestra server
 - Piccoli fix deltabit e uqloads
 - Piccolo fix gestione viste
 - Fix gestione salva link
This commit is contained in:
Alhaziel01
2022-01-13 13:02:01 +01:00
parent a7a94eb20b
commit 29a5b2569e
7 changed files with 103 additions and 62 deletions

View File

@@ -224,6 +224,7 @@ def mostrar_perfil(item):
for i_enlace, enlace in enumerate(alfav.user_favorites[i_perfil]['items']):
it = Item().fromurl(enlace)
it.from_channel = 'kodfavorites'
it.context = [ {'title': config.get_localized_string(70617), 'channel': item.channel, 'action': 'acciones_enlace',
'i_enlace': i_enlace, 'i_perfil': i_perfil} ]
@@ -232,6 +233,10 @@ def mostrar_perfil(item):
it.plot += '[CR]Url: ' + it.url if isinstance(it.url, str) else '...'
if it.date_added != '': it.plot += '[CR]' + config.get_localized_string(70469) + ': ' + it.date_added
if it.server:
it.thumbnail = it.contentThumbnail
it.title += ' [{}]'.format(it.serverName)
# If it is not a url, nor does it have the system path, convert the path since it will have been copied from another device.
# It would be more optimal if the conversion was done with an import menu, but at the moment it is controlled in run-time.
if it.thumbnail and '://' not in it.thumbnail and not it.thumbnail.startswith(ruta_runtime):