Corrección errores de traducción y mejoras internas
Corregido error al marcar como vista/no vista una serie o película en la Videoteca de Alfa - Añadido soporte de etiquetas de idioma tipo @xxxxx, en campo ‘enabled’ en menus de confoguración - Reparación de Videlibrary.json quitando ']' en campos ‘enabled’ Newpct1: arreglo de error en series antiguas Generictools: mejora de etiquetado de títulos
This commit is contained in:
@@ -235,8 +235,10 @@ def mark_content_as_watched_on_kodi(item, value=1):
|
||||
data = get_data(payload)
|
||||
if 'result' in data and "movies" in data['result']:
|
||||
|
||||
filename = filetools.basename(item.strm_path)
|
||||
head, tail = filetools.split(filetools.split(item.strm_path)[0])
|
||||
#filename = filetools.basename(item.strm_path)
|
||||
#head, tail = filetools.split(filetools.split(item.strm_path)[0])
|
||||
filename = filetools.basename(item.path)
|
||||
head, tail = filetools.split(filetools.split(item.path)[0])
|
||||
path = filetools.join(tail, filename)
|
||||
|
||||
for d in data['result']['movies']:
|
||||
@@ -258,8 +260,10 @@ def mark_content_as_watched_on_kodi(item, value=1):
|
||||
data = get_data(payload)
|
||||
if 'result' in data and "episodes" in data['result']:
|
||||
|
||||
filename = filetools.basename(item.strm_path)
|
||||
head, tail = filetools.split(filetools.split(item.strm_path)[0])
|
||||
#filename = filetools.basename(item.strm_path)
|
||||
#head, tail = filetools.split(filetools.split(item.strm_path)[0])
|
||||
filename = filetools.basename(item.path)
|
||||
head, tail = filetools.split(filetools.split(item.path)[0])
|
||||
path = filetools.join(tail, filename)
|
||||
|
||||
for d in data['result']['episodes']:
|
||||
|
||||
Reference in New Issue
Block a user