Fix Ricerca alternativa
This commit is contained in:
@@ -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 ''
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
@@ -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'<div class="picSurround"><a href="([^"]+)" title="([^"]+)"').matches
|
||||
if images:
|
||||
@@ -1764,7 +1764,7 @@ def imagenes(item):
|
||||
|
||||
if item.images:
|
||||
from platformcode import infoplus
|
||||
for key, value in item.images.iteritems():
|
||||
for key, value in item.images.items():
|
||||
if key == "tmdb" and "Tmdb" in item.title:
|
||||
if item.folder:
|
||||
for tipo, child in value.iteritems():
|
||||
@@ -1789,14 +1789,14 @@ def imagenes(item):
|
||||
else:
|
||||
imagesWindow = infoplus.images(fanartv=value).doModal()
|
||||
|
||||
elif key == "filmaffinity" and "Filmaffinity" in item.title:
|
||||
if item.folder:
|
||||
for thumb, title in value:
|
||||
thumb = thumb.replace("-s200", "-large")
|
||||
itemlist.append(Item(channel=item.channel, action="", thumbnail=thumb, fanart=thumb,
|
||||
title=title, infoLabels=item.infoLabels))
|
||||
else:
|
||||
imagesWindow = infoplus.images(fa=value).doModal()
|
||||
# elif key == "filmaffinity" and "Filmaffinity" in item.title:
|
||||
# if item.folder:
|
||||
# for thumb, title in value:
|
||||
# thumb = thumb.replace("-s200", "-large")
|
||||
# itemlist.append(Item(channel=item.channel, action="", thumbnail=thumb, fanart=thumb,
|
||||
# title=title, infoLabels=item.infoLabels))
|
||||
# else:
|
||||
# imagesWindow = infoplus.images(fa=value).doModal()
|
||||
|
||||
elif key == "imdb" and "Imdb" in item.title:
|
||||
if item.folder:
|
||||
@@ -2772,7 +2772,7 @@ def login_mal(from_list=False):
|
||||
except:
|
||||
import traceback
|
||||
error(traceback.format_exc())
|
||||
return False, config.get_localized_string(70331)
|
||||
return False, config.get_localized_string(70331) , ''
|
||||
|
||||
|
||||
def cuenta_mal(item):
|
||||
|
||||
Reference in New Issue
Block a user