From 8cdb9c999adacec7f0c8cc00d2b3b1f1ee9007f1 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 17 Mar 2021 21:16:11 +0100 Subject: [PATCH] Hopefully fix RuntimeError: no add-on "plugin.video.plexkodiconnect" --- resources/lib/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index a3c46ecd..675c3ad0 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -113,10 +113,10 @@ def settings(setting, value=None): """ # We need to instantiate every single time to read changed variables! with SETTINGS_LOCK: - addon = xbmcaddon.Addon(id='plugin.video.plexkodiconnect') + addon = xbmcaddon.Addon() if value is not None: - # Takes string or unicode by default! - addon.setSetting(setting, value) + # Takes string or unicode by default! + addon.setSetting(setting, value) else: # Should return unicode by default, but just in case return addon.getSetting(setting)