Test sincronizzazione libreria kodi

This commit is contained in:
Alhaziel01
2021-05-15 12:18:59 +02:00
parent d925f26c8d
commit b37cf50261
3 changed files with 432 additions and 6 deletions
-1
View File
@@ -506,7 +506,6 @@ def play_from_library(item):
path = filetools.join(config.get_runtime_path(), 'servers', item.server.lower() + '.json')
name = jsontools.load(open(path, "rb").read())['name']
if name.startswith('@'): name = config.get_localized_string(int(name.replace('@','')))
logger.debug(item)
it = xbmcgui.ListItem('\n[B]%s[/B] %s - %s [%s]' % (name, quality, item.contentTitle, get_channel_parameters(item.contentChannel)['title']))
it.setArt({'thumb':item.thumbnail})
options.append(it)