diff --git a/context.py b/context.py index dbcc7aff..a77266a7 100644 --- a/context.py +++ b/context.py @@ -13,9 +13,7 @@ import xbmcaddon __addon__ = xbmcaddon.Addon(id='plugin.video.jellyfin') __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'resources', 'lib')).decode('utf-8') -__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8') -sys.path.insert(0, __libraries__) sys.path.insert(0, __base__) ################################################################################################# diff --git a/context_play.py b/context_play.py index d4a4ebfb..6ad0d3f6 100644 --- a/context_play.py +++ b/context_play.py @@ -13,9 +13,7 @@ import xbmcaddon __addon__ = xbmcaddon.Addon(id='plugin.video.jellyfin') __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'resources', 'lib')).decode('utf-8') -__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8') -sys.path.insert(0, __libraries__) sys.path.insert(0, __base__) ################################################################################################# diff --git a/default.py b/default.py index d79e2740..433b2766 100644 --- a/default.py +++ b/default.py @@ -13,9 +13,7 @@ import xbmcaddon __addon__ = xbmcaddon.Addon(id='plugin.video.jellyfin') __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'resources', 'lib')).decode('utf-8') -__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8') -sys.path.insert(0, __libraries__) sys.path.insert(0, __base__) ################################################################################################# diff --git a/service.py b/service.py index 697807ae..575931ef 100644 --- a/service.py +++ b/service.py @@ -14,9 +14,7 @@ import xbmcaddon __addon__ = xbmcaddon.Addon(id='plugin.video.jellyfin') __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'resources', 'lib')).decode('utf-8') -__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8') -sys.path.insert(0, __libraries__) sys.path.insert(0, __base__) #################################################################################################