Fix Locandine in Videoteca

This commit is contained in:
Alhaziel01
2020-09-12 19:19:31 +02:00
parent 8fcabc6ef7
commit 13caff32b9

View File

@@ -160,6 +160,7 @@ def get_results(nfo_path, root, Type, local=False):
item.extra = filetools.join(config.get_setting("videolibrarypath"), config.get_setting(folder), item.path.split(sep)[-1])
strm_path = item.strm_path.replace("\\", "/").rstrip("/")
if '/' in item.path: item.strm_path = strm_path
if not item.thumbnail: item.thumbnail = item.infoLabels['thumbnail']
# If strm has been removed from kodi library, don't show it
if not filetools.exists(filetools.join(item.path, filetools.basename(strm_path))) and not local: return Item(), 0