From eb3141c5fda81c875eb9a46de068a4c86b7ac93b Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 28 Sep 2020 19:03:33 +0200 Subject: [PATCH] Altro fix --- platformcode/infoplus.py | 5 +++-- resources/skins/Default/720p/InfoPlus.xml | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/platformcode/infoplus.py b/platformcode/infoplus.py index fd20f242..ee38c076 100644 --- a/platformcode/infoplus.py +++ b/platformcode/infoplus.py @@ -84,8 +84,9 @@ class MainWindow(xbmcgui.WindowXMLDialog): self.getControl(CAST).addItems(self.cast) else: self.getControl(CAST).setVisible(False) - if Info.getProperty('rating'): - self.getControl(RATING).setText(str(Info.getProperty('rating'))) + if Info.getProperty('rating'): rating = str(Info.getProperty('rating')) + else: rating = 'N/A' + self.getControl(RATING).setText(rating) getFocus(self) def onClick(self, control_id): diff --git a/resources/skins/Default/720p/InfoPlus.xml b/resources/skins/Default/720p/InfoPlus.xml index a83d904e..388018fe 100644 --- a/resources/skins/Default/720p/InfoPlus.xml +++ b/resources/skins/Default/720p/InfoPlus.xml @@ -309,7 +309,7 @@ 25 25 50 - 220 + 240 Control.HasFocus(30500) | Control.HasFocus(30006) | Control.HasFocus(30007) | Control.HasFocus(30008) 50 @@ -318,7 +318,7 @@ 60 - 30 + 40 50 FFFFFFFF 00000000 @@ -328,7 +328,7 @@ center - 110 + 120 50 50 Infoplus/trailer.png @@ -338,7 +338,7 @@ 30008 - 170 + 180 50 50 Infoplus/search.png