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

This commit is contained in:
croneter 2021-03-20 10:33:59 +01:00
parent 34045c0136
commit 6b6464dac3

View file

@ -118,7 +118,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(try_encode(setting), try_encode(value))