mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-15 13:55:08 +00:00
Move libraries import
This commit is contained in:
parent
3ea6890c34
commit
b2bc90cb06
209 changed files with 36 additions and 14941 deletions
|
@ -15,9 +15,12 @@ import xbmcaddon
|
|||
|
||||
__addon__ = xbmcaddon.Addon(id='plugin.video.emby')
|
||||
__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')
|
||||
__pcache__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('profile'), 'emby')).decode('utf-8')
|
||||
__cache__ = xbmc.translatePath('special://temp/emby').decode('utf-8')
|
||||
|
||||
sys.path.insert(0, __libraries__)
|
||||
|
||||
if not xbmcvfs.exists(__pcache__ + '/'):
|
||||
from resources.lib.helper.utils import copytree
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue