From ca67bc4f9f7070f3226d5b18efb36e0f2459c7ba Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 11 Jun 2021 09:59:36 +0200 Subject: [PATCH] Rimosso extended info, non compatibile con Kodi 19 --- platformcode/platformtools.py | 10 ---------- resources/settings.xml | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index b3d3d755..58cca5cc 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -343,16 +343,6 @@ def render_items(itemlist, parent_item): if item.action == 'play' and thumb_type == 1 and not item.forcethumb: item.thumbnail = config.get_online_server_thumb(item.server) - # if cloudflare and cloudscraper is used, cookies are needed to display images taken from site - # before checking domain (time consuming), checking if tmdb failed (so, images scraped from website are used) - # if item.action in ['findvideos'] and not item.infoLabels['tmdb_id']: - # faster but ugly way of checking - # for d in httptools.FORCE_CLOUDSCRAPER_LIST: - # if d + '/' in item.url: - # item.thumbnail = httptools.get_url_headers(item.thumbnail) - # item.fanart = httptools.get_url_headers(item.fanart) - # break - icon_image = "DefaultFolder.png" if item.folder else "DefaultVideo.png" listitem = xbmcgui.ListItem(item.title) listitem.setArt({'icon': icon_image, 'thumb': item.thumbnail, 'poster': item.thumbnail, diff --git a/resources/settings.xml b/resources/settings.xml index 5399e071..1e28af6f 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -152,7 +152,7 @@ - +