Some more first run fixes

This commit is contained in:
JonnyWong16
2017-12-17 23:12:56 -08:00
parent 7cd38581a6
commit a449670667
4 changed files with 18 additions and 12 deletions

View File

@@ -33,10 +33,11 @@ ws_reconnect = False
def start_thread():
# Check for any existing sessions on start up
activity_pinger.check_active_sessions(ws_request=True)
# Start the websocket listener on it's own thread
threading.Thread(target=run).start()
if plexpy.CONFIG.FIRST_RUN_COMPLETE:
# Check for any existing sessions on start up
activity_pinger.check_active_sessions(ws_request=True)
# Start the websocket listener on it's own thread
threading.Thread(target=run).start()
def on_disconnect():