From 1679a64e1e1afb42edde9c1e56ce4448e03c2c36 Mon Sep 17 00:00:00 2001 From: sualfred Date: Wed, 14 Apr 2021 16:50:28 +0200 Subject: [PATCH] hotfix for blurring exception --- addon.xml | 2 +- resources/lib/service_monitor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index c9b0be9..a387698 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/resources/lib/service_monitor.py b/resources/lib/service_monitor.py index 92022fe..fbb35a0 100644 --- a/resources/lib/service_monitor.py +++ b/resources/lib/service_monitor.py @@ -134,7 +134,7 @@ def start(self): ''' if condition('Skin.HasSetting(BlurEnabled)'): radius = xbmc.getInfoLabel('Skin.String(BlurRadius)') or ADDON.getSetting('blur_radius') - saturation = xbmc.getInfoLabel('Skin.String(BlurSaturation)') + saturation = xbmc.getInfoLabel('Skin.String(BlurSaturation)') or '1.0' ImageBlur(radius=radius, saturation=saturation) ''' Refresh widgets