From f3ecf33f74a2512c3c76dc7a65cd34876d12680a Mon Sep 17 00:00:00 2001 From: fischerRo <48080326+fischerRo@users.noreply.github.com> Date: Sat, 8 Jul 2023 18:25:39 +0200 Subject: [PATCH] [script.module.libard] v6.0.2 --- script.module.libard/addon.xml | 2 +- script.module.libard/lib/libardnewjsonparser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script.module.libard/addon.xml b/script.module.libard/addon.xml index d02e9e9854..98c678c3eb 100644 --- a/script.module.libard/addon.xml +++ b/script.module.libard/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/script.module.libard/lib/libardnewjsonparser.py b/script.module.libard/lib/libardnewjsonparser.py index eba62cbece..30c49a413d 100644 --- a/script.module.libard/lib/libardnewjsonparser.py +++ b/script.module.libard/lib/libardnewjsonparser.py @@ -144,7 +144,7 @@ def _grabTeaser(self,teaser,client=False): d['metadata']['art']['thumb'] = teaser['images']['aspect16x9']['src'].format(width='512') if 'aspect3x4' in teaser['images']: d['metadata']['art']['poster'] = teaser['images']['aspect3x4']['src'].format(width='512') - if 'show' in teaser and 'images' in teaser['show'] and '16x9' in teaser['show']['images']: + if 'show' in teaser and teaser['show'] and 'images' in teaser['show'] and teaser['show']['images'] and '16x9' in teaser['show']['images']: d['metadata']['art']['fanart'] = teaser['show']['images']['16x9']['src'].format(width='512') if client: d['params']['client'] = client