Fix special monitor

This commit is contained in:
angelblue05 2018-01-09 05:42:37 -06:00
parent 241646f9a2
commit 3bccc195da

View file

@ -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: