Correct plugin id

This commit is contained in:
angelblue05 2016-09-24 21:34:11 -05:00
parent c3eb8a5598
commit 5e7d0e3a6a

View file

@ -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')