Add settings monitor

Prompt for reset if playback mode change is detected
This commit is contained in:
angelblue05 2016-01-09 04:53:04 -06:00
parent b61b8ae894
commit f99efb2a83
3 changed files with 23 additions and 10 deletions

View file

@ -44,7 +44,6 @@ class UserClient(threading.Thread):
self.addonName = clientinfo.ClientInfo().getAddonName()
self.doUtils = downloadutils.DownloadUtils()
self.logLevel = int(utils.settings('logLevel'))
threading.Thread.__init__(self)
@ -411,15 +410,6 @@ class UserClient(threading.Thread):
while not monitor.abortRequested():
# Verify the log level
currLogLevel = self.getLogLevel()
if self.logLevel != currLogLevel:
# Set new log level
self.logLevel = currLogLevel
utils.window('emby_logLevel', value=str(currLogLevel))
self.logMsg("New Log Level: %s" % currLogLevel, 0)
status = utils.window('emby_serverStatus')
if status:
# Verify the connection status to server