@@ -726,7 +726,7 @@ def save_episodes(path, episodelist, serie, silent=False, overwrite=True):
|
||||
# ... si ha sido correcto actualizamos la videoteca de Kodi
|
||||
if config.is_xbmc() and not silent:
|
||||
from platformcode import xbmc_videolibrary
|
||||
xbmc_videolibrary.update(FOLDER_TVSHOWS, filetools.basename(path))
|
||||
xbmc_videolibrary.update(filetools.join(FOLDER_TVSHOWS, filetools.basename(path)))
|
||||
|
||||
if fallidos == len(episodelist):
|
||||
fallidos = -1
|
||||
|
||||
@@ -487,7 +487,9 @@ def update(folder_content=config.get_setting("folder_tvshows"), folder=""):
|
||||
if videolibrarypath.startswith("special:"):
|
||||
if videolibrarypath.endswith('/'):
|
||||
videolibrarypath = videolibrarypath[:-1]
|
||||
update_path = filetools.join(videolibrarypath, folder_content, folder) + "/"
|
||||
update_path = videolibrarypath + "/" + folder_content + "/" + folder + "/"
|
||||
else:
|
||||
update_path = filetools.join(videolibrarypath, folder_content, folder) + "/"
|
||||
|
||||
if not update_path.startswith("smb://"):
|
||||
payload["params"] = {"directory": update_path}
|
||||
|
||||
Reference in New Issue
Block a user