mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
quick follow up
This commit is contained in:
parent
04e0d4f89e
commit
08c3ea1a33
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,7 @@ import xbmcaddon
|
||||||
import xbmc
|
import xbmc
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
|
|
||||||
addon_ = xbmcaddon.Addon(id='plugin.video.emby')
|
addon_ = xbmcaddon.Addon()
|
||||||
addon_path = addon_.getAddonInfo('path').decode('utf-8')
|
addon_path = addon_.getAddonInfo('path').decode('utf-8')
|
||||||
base_resource_path = xbmc.translatePath(os.path.join(addon_path, 'resources', 'lib')).decode('utf-8')
|
base_resource_path = xbmc.translatePath(os.path.join(addon_path, 'resources', 'lib')).decode('utf-8')
|
||||||
sys.path.append(base_resource_path)
|
sys.path.append(base_resource_path)
|
||||||
|
@ -246,7 +246,6 @@ class Service():
|
||||||
|
|
||||||
# If user reset library database.
|
# If user reset library database.
|
||||||
if WINDOW.getProperty('SyncInstallRunDone') == "false":
|
if WINDOW.getProperty('SyncInstallRunDone') == "false":
|
||||||
addon = xbmcaddon.Addon()
|
|
||||||
addon.setSetting('SyncInstallRunDone', "false")
|
addon.setSetting('SyncInstallRunDone', "false")
|
||||||
|
|
||||||
if (self.newWebSocketThread != None):
|
if (self.newWebSocketThread != None):
|
||||||
|
|
Loading…
Reference in a new issue