From 4f3fcbe03c7a8cc48fa9a1525c9d46faf6454ddc Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 28 Sep 2020 17:53:04 +0200 Subject: [PATCH] Fix Ricerca alternativa --- platformcode/xbmc_config_menu.py | 2 +- specials/tvmoviedb.json | 34 +------------------------------- specials/tvmoviedb.py | 24 +++++++++++----------- 3 files changed, 14 insertions(+), 46 deletions(-) diff --git a/platformcode/xbmc_config_menu.py b/platformcode/xbmc_config_menu.py index c3a79e2a..b4000e28 100644 --- a/platformcode/xbmc_config_menu.py +++ b/platformcode/xbmc_config_menu.py @@ -375,7 +375,6 @@ class SettingsWindow(xbmcgui.WindowXMLDialog): c["label"], self.font, c["color"], '', 1 | 4, focusTexture='', noFocusTexture='') - if c['hidden']: control.setType(xbmcgui.INPUT_TYPE_PASSWORD) image = xbmcgui.ControlImage(0, -100, self.controls_width + 10, self.height_control, os.path.join(self.mediapath, 'Controls', 'MenuItemFO.png')) @@ -385,6 +384,7 @@ class SettingsWindow(xbmcgui.WindowXMLDialog): control.setVisible(False) control.setLabel(c["label"]) + if c['hidden']: control.setType(xbmcgui.INPUT_TYPE_PASSWORD, c["label"]) # frodo fix s = self.values[c["id"]] if s is None: s = c['default'] if 'default' in c else '' diff --git a/specials/tvmoviedb.json b/specials/tvmoviedb.json index 250e4adc..6798a390 100644 --- a/specials/tvmoviedb.json +++ b/specials/tvmoviedb.json @@ -90,38 +90,6 @@ "@70434" ] }, - { - "id": "usuariofa", - "type": "text", - "label": "@70435", - "default": "", - "enabled": true, - "visible": true - }, - { - "id": "passfa", - "type": "text", - "label": "@70436", - "default": "", - "enabled": "!eq(-1,'')", - "hidden": true, - "visible": true - }, - { - "id": "orderfa", - "type": "list", - "label": "@70437", - "default": 0, - "enabled": "!eq(-1,'')", - "visible": true, - "lvalues": [ - "@70438", - "@60230", - "@70042", - "@70439", - "@70440" - ] - }, { "id": "label2", "type": "label", @@ -142,7 +110,7 @@ "type": "text", "label": "@70442", "default": "", - "enabled": "!eq(-1,'')", + "enabled": true, "hidden": true, "visible": true }, diff --git a/specials/tvmoviedb.py b/specials/tvmoviedb.py index 32042008..590c5af6 100644 --- a/specials/tvmoviedb.py +++ b/specials/tvmoviedb.py @@ -1718,8 +1718,8 @@ def imagenes(item): itemlist.append(item.clone(title="Fanart.Tv", args="")) if "imdb" in item.images: itemlist.append(item.clone(title="Imdb", args="")) - if "filmaffinity" in item.images: - itemlist.append(item.clone(title="Filmaffinity", args="")) + # if "filmaffinity" in item.images: + # itemlist.append(item.clone(title="Filmaffinity", args="")) if "myanimelist" in item.images: images = match(item.url + "/pics", cookies=False, patron=R'