Websocket fix

Make sure server is considered online before starting/restarting the
websocket client.
This commit is contained in:
angelblue05 2016-09-19 18:42:08 -05:00
parent 64c47f1a87
commit d0c939b78e

View file

@ -326,7 +326,9 @@ class WebSocketClient(threading.Thread):
while not self.monitor.abortRequested():
if window('emby_online') == "true":
self._client.run_forever(ping_interval=10)
if self._stop_websocket:
break