mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 21:56:13 +00:00
Add settings monitor
Prompt for reset if playback mode change is detected
This commit is contained in:
parent
b61b8ae894
commit
f99efb2a83
3 changed files with 23 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue