Make monitor websocket ping/pong an advanced config option

This commit is contained in:
JonnyWong16
2018-07-22 17:39:21 -07:00
parent 4ef36a464a
commit 97cf2ebe19
3 changed files with 4 additions and 2 deletions

View File

@@ -60,7 +60,8 @@ def on_connect():
plexpy.PLEX_SERVER_UP = True
plexpy.initialize_scheduler()
send_ping()
if plexpy.CONFIG.WEBSOCKET_MONITOR_PING_PONG:
send_ping()
def on_disconnect():