From 5e7d0e3a6af45f07cb7b58880d35e362b7d7994b Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 24 Sep 2016 21:34:11 -0500 Subject: [PATCH] Correct plugin id --- resources/lib/clientinfo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/lib/clientinfo.py b/resources/lib/clientinfo.py index 4d29c92d..10bc6a7e 100644 --- a/resources/lib/clientinfo.py +++ b/resources/lib/clientinfo.py @@ -24,16 +24,16 @@ class ClientInfo(object): def __init__(self): - self.addon = xbmcaddon.Addon() + self.addon = xbmcaddon.Addon(self.get_addon_id()) + + @staticmethod + def get_addon_id(): + return "plugin.video.emby" def get_addon_name(self): # Used for logging return self.addon.getAddonInfo('name').upper() - @classmethod - def get_addon_id(cls): - return "plugin.video.emby" - def get_version(self): return self.addon.getAddonInfo('version')