Initial code for a more suitable websocket event handler.

This commit is contained in:
Tim 2015-09-22 00:06:42 +02:00
parent fa25809e7a
commit 28227a3c35
8 changed files with 290 additions and 71 deletions

View file

@ -198,7 +198,7 @@ def main():
except:
logger.warn(u"Websocket :: Unable to open connection.")
# Fallback to polling
plexpy.CONFIG.MONITORING_USE_WEBSOCKET = 0
plexpy.POLLING_FAILOVER = True
plexpy.initialize_scheduler()
# Open webbrowser