mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix special monitor
This commit is contained in:
parent
241646f9a2
commit
3bccc195da
1 changed files with 2 additions and 4 deletions
|
@ -32,9 +32,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
xbmc.Monitor.__init__(self)
|
xbmc.Monitor.__init__(self)
|
||||||
|
self.special_monitor = SpecialMonitor().start()
|
||||||
if settings('useDirectPaths') == "0":
|
|
||||||
self.special_monitor = SpecialMonitor().start()
|
|
||||||
|
|
||||||
self.download = downloadutils.DownloadUtils().downloadUrl
|
self.download = downloadutils.DownloadUtils().downloadUrl
|
||||||
log.info("Kodi monitor started")
|
log.info("Kodi monitor started")
|
||||||
|
@ -221,8 +219,8 @@ class SpecialMonitor(threading.Thread):
|
||||||
''' Detect the resume dialog for widgets.
|
''' Detect the resume dialog for widgets.
|
||||||
Detect external players.
|
Detect external players.
|
||||||
'''
|
'''
|
||||||
monitor = xbmc.Monitor()
|
|
||||||
|
|
||||||
|
monitor = xbmc.Monitor()
|
||||||
log.warn("----====# Starting Special Monitor #====----")
|
log.warn("----====# Starting Special Monitor #====----")
|
||||||
|
|
||||||
while not self._stop_thread:
|
while not self._stop_thread:
|
||||||
|
|
Loading…
Reference in a new issue