mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Make sure __base__ is the first place we look for packages.
This commit is contained in:
parent
46ecb6b928
commit
5265b02bf7
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
||||||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).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, __libraries__)
|
||||||
sys.path.append(__base__)
|
sys.path.insert(0, __base__)
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
||||||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).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, __libraries__)
|
||||||
sys.path.append(__base__)
|
sys.path.insert(0, __base__)
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
||||||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).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, __libraries__)
|
||||||
sys.path.append(__base__)
|
sys.path.insert(0, __base__)
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
||||||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).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, __libraries__)
|
||||||
sys.path.append(__base__)
|
sys.path.insert(0, __base__)
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue