Merge pull request #100 from TrueTechy/path-cleanup

Remove `libraries/` from PATH
This commit is contained in:
Odd Stråbø 2019-10-02 23:56:19 +02:00 committed by GitHub
commit e92d60f7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 8 deletions

View File

@ -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__)
#################################################################################################

View File

@ -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__)
#################################################################################################

View File

@ -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__)
#################################################################################################

View File

@ -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__)
#################################################################################################