mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-23 21:39:54 +00:00
Merge pull request #100 from TrueTechy/path-cleanup
Remove `libraries/` from PATH
This commit is contained in:
commit
e92d60f7c7
@ -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__)
|
||||
|
||||
#################################################################################################
|
||||
|
@ -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__)
|
||||
|
||||
#################################################################################################
|
||||
|
@ -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__)
|
||||
|
||||
#################################################################################################
|
||||
|
@ -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__)
|
||||
|
||||
#################################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user