SMB: mejoras y correcciones

This commit is contained in:
Kingbox
2018-11-28 17:07:21 +01:00
parent b68489d04d
commit 2f62377035
4 changed files with 33 additions and 15 deletions

View File

@@ -488,7 +488,8 @@ def update(folder_content=config.get_setting("folder_tvshows"), folder=""):
else:
update_path = filetools.join(videolibrarypath, folder_content, folder) + "/"
payload["params"] = {"directory": update_path}
if not update_path.startswith("smb://"):
payload["params"] = {"directory": update_path}
while xbmc.getCondVisibility('Library.IsScanningVideo()'):
xbmc.sleep(500)