diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 5f14e5ea..5fc9a46a 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -118,10 +118,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(try_encode(setting), try_encode(value)) + # Takes string or unicode by default! + addon.setSetting(try_encode(setting), try_encode(value)) else: # Should return unicode by default, but just in case return try_decode(addon.getSetting(setting))