mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
Correct plugin id
This commit is contained in:
parent
c3eb8a5598
commit
5e7d0e3a6a
1 changed files with 5 additions and 5 deletions
|
@ -24,16 +24,16 @@ class ClientInfo(object):
|
||||||
|
|
||||||
def __init__(self):
|
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):
|
def get_addon_name(self):
|
||||||
# Used for logging
|
# Used for logging
|
||||||
return self.addon.getAddonInfo('name').upper()
|
return self.addon.getAddonInfo('name').upper()
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def get_addon_id(cls):
|
|
||||||
return "plugin.video.emby"
|
|
||||||
|
|
||||||
def get_version(self):
|
def get_version(self):
|
||||||
return self.addon.getAddonInfo('version')
|
return self.addon.getAddonInfo('version')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue