Very early work on implementing websocket monitoring method.

This commit is contained in:
Tim 2015-09-20 12:21:39 +02:00
parent 9c955771c0
commit fa71beb03f
24 changed files with 7814 additions and 3 deletions

View file

@ -262,6 +262,7 @@ available_notification_agents = notifiers.available_notification_agents()
<div class="padded-header">
<h3>Plex Media Server</h3>
</div>
<p class="help-block">If you're using websocket monitoring, any server changes require a restart of PlexPy.</p>
<div class="form-group has-feedback" id="pms-ip-group">
<label for="pms_ip">Plex IP or Hostname</label>
<div class="row">
@ -390,6 +391,12 @@ available_notification_agents = notifiers.available_notification_agents()
</div>
<p class="help-block">The interval (in seconds) PlexPy will ping your Plex Server. Min 30 seconds, recommended 60 seconds.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="monitoring_use_websocket" name="monitoring_use_websocket" value="1" ${config['monitoring_use_websocket']}> Use Websocket (requires restart)
</label>
<p class="help-block">Instead of polling the server at regular intervals let the server tell us when something happens.</p>
</div>
<div class="padded-header">
<h3>History Logging</h3>