Add setting for recently added notification delay

This commit is contained in:
Jonathan Wong 2015-11-16 21:17:47 -08:00
parent 12056ac2ba
commit 53044c75dd
3 changed files with 18 additions and 1 deletions

View file

@ -483,7 +483,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
</div>
<div class="padded-header">
<h3>Notification Tuning</h3>
<h3>Current Activity Notifications</h3>
</div>
<div class="form-group">
@ -502,12 +502,27 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
</label>
<p class="help-block">Disable to prevent consecutive notifications (i.e. both watched &amp; stopped notifications).</p>
</div>
<div class="padded-header">
<h3>Recently Added Notifications</h3>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="notify_recently_added_grandparent" id="notify_recently_added_grandparent" value="1" ${config['notify_recently_added_grandparent']}> Group notifications for recently added TV Shows or Music
</label>
<p class="help-block">Enable to only get one notification for recently added Episodes or Tracks. Movies are unaffected.</p>
</div>
<div class="form-group">
<label for="notify_recently_added_delay">Notification Delay</label>
<div class="row">
<div class="col-md-2">
<input type="text" class="form-control" data-parsley-type="integer" id="notify_recently_added_delay" name="notify_recently_added_delay" value="${config['notify_recently_added_delay']}" size="5" data-parsley-min="60" data-parsley-trigger="change" data-parsley-errors-container="#notify_recently_added_delay_error" required>
</div>
<div id="notify_recently_added_delay_error" class="alert alert-danger settings-alert" role="alert"></div>
</div>
<p class="help-block">Set the delay for recently added notifications to allow metadata to be processes. Minimum 60 seconds.</p>
</div>
<div class="padded-header">
<h3>Custom Notification Messages</h3>