Hopefully fix RuntimeError: no add-on "plugin.video.plexkodiconnect"

This commit is contained in:
croneter 2021-03-17 21:16:11 +01:00
parent 4c563e7936
commit 8cdb9c999a

View file

@ -113,7 +113,7 @@ 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)