mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
parent
f1b37fc721
commit
42e1c2ece3
2 changed files with 1 additions and 6 deletions
|
@ -328,7 +328,7 @@ class TheVoid(object):
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
if window('emby_should_stop.bool') and self.monitor.waitForAbort(0.00001):
|
if window('emby_should_stop.bool') or self.monitor.waitForAbort(0.2):
|
||||||
LOG.info("Abandon mission! A black hole just swallowed [ %s ]", self.data['VoidName'])
|
LOG.info("Abandon mission! A black hole just swallowed [ %s ]", self.data['VoidName'])
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|
|
@ -17,11 +17,6 @@ cache = xbmc.translatePath('special://temp/emby').decode('utf-8')
|
||||||
if not xbmcvfs.exists(cache):
|
if not xbmcvfs.exists(cache):
|
||||||
xbmcvfs.mkdir(cache)
|
xbmcvfs.mkdir(cache)
|
||||||
|
|
||||||
if not xbmcvfs.exists(os.path.join(cache, '__init__.py')):
|
|
||||||
|
|
||||||
init = xbmcvfs.File(os.path.join(cache, '__init__.py'), 'w')
|
|
||||||
init.close()
|
|
||||||
|
|
||||||
sys.path.insert(0, cache)
|
sys.path.insert(0, cache)
|
||||||
__addon__ = xbmcaddon.Addon(id='plugin.video.emby').getAddonInfo('path').decode('utf-8')
|
__addon__ = xbmcaddon.Addon(id='plugin.video.emby').getAddonInfo('path').decode('utf-8')
|
||||||
__base__ = xbmc.translatePath(os.path.join(__addon__, 'resources', 'lib')).decode('utf-8')
|
__base__ = xbmc.translatePath(os.path.join(__addon__, 'resources', 'lib')).decode('utf-8')
|
||||||
|
|
Loading…
Reference in a new issue