mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add grouped notification params
This commit is contained in:
parent
d97cacff14
commit
e1bd5ed49e
7 changed files with 221 additions and 87 deletions
|
@ -2671,6 +2671,12 @@ a .home-platforms-list-cover-face:hover
|
|||
border-radius: 8px;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
pre::-webkit-scrollbar-track {
|
||||
background-color: rgba(255,255,255,.2);
|
||||
}
|
||||
pre::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(0,0,0,.15);
|
||||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width: 300px)
|
||||
|
|
|
@ -951,15 +951,10 @@
|
|||
|
||||
<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
|
||||
<input type="checkbox" name="notify_group_recently_added" id="notify_group_recently_added" value="1" ${config['notify_group_recently_added']}> Group notifications for recently added TV Shows or Music
|
||||
</label>
|
||||
<p class="help-block">
|
||||
Enable to only get one TV Show or Artist notification for a batch of recently added Episodes or Tracks. Movies are unaffected.<br />
|
||||
% if config['notify_recently_added_grandparent'] == 'Checked':
|
||||
<span id="notify_recently_added_grandparent_note" style="color: #eb8600;">Note: No Season/Episode or Album/Track metadata will be available.</span>
|
||||
% else:
|
||||
<span id="notify_recently_added_grandparent_note">Note: No Season/Episode or Album/Track metadata will be available.</span>
|
||||
% endif
|
||||
Enable to only get one TV Show/Season or Artist/Album notification for a batch of recently added Episodes or Tracks. Movies are unaffected.<br />
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
@ -1588,27 +1583,27 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><strong>{season_num}</strong></td>
|
||||
<td>The season number for the episode.</td>
|
||||
<td>The season number. <span class="small-muted">(e.g. 1, or 1-3)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{season_num00}</strong></td>
|
||||
<td>The two digit season number.</td>
|
||||
<td>The two digit season number. <span class="small-muted">(e.g. 01, or 01-03)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{episode_num}</strong></td>
|
||||
<td>The episode number for the episode.</td>
|
||||
<td>The episode number. <span class="small-muted">(e.g. 6, or 6-10)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{episode_num00}</strong></td>
|
||||
<td>The two digit episode number.</td>
|
||||
<td>The two digit episode number. <span class="small-muted">(e.g. 06, or 06-10)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{track_num}</strong></td>
|
||||
<td>The track number for the track.</td>
|
||||
<td>The track number. <span class="small-muted">(e.g. 4, or 4-10)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{track_num00}</strong></td>
|
||||
<td>The two digit track number.</td>
|
||||
<td>The two digit track number. <span class="small-muted">(e.g. 04, or 04-10)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{year}</strong></td>
|
||||
|
@ -1815,23 +1810,25 @@
|
|||
<div style="padding-bottom: 10px;">
|
||||
<p class="help-block">All text inside <span class="inline-pre"><movie></movie></span> tags will only be sent when the media item is a movie.</p>
|
||||
<p><strong style="color: #fff;">Example:</strong></p>
|
||||
<pre>{user} has started playing {title} <movie>({year})</movie></pre>
|
||||
<pre>{title} <movie>({year})</movie> was recently added to Plex</pre>
|
||||
</div>
|
||||
<div>
|
||||
<h4>TV Tag</h4>
|
||||
<h4>Show / Season / Episode Tags</h4>
|
||||
</div>
|
||||
<div style="padding-bottom: 10px;">
|
||||
<p class="help-block">All text inside <span class="inline-pre"><tv></tv></span> tags will only be sent when the media item is an episode.</p>
|
||||
<p class="help-block">All text inside <span class="inline-pre"><show></show></span>/<span class="inline-pre"><season></season></span>/<span class="inline-pre"><episode></episode></span>
|
||||
tags will only be sent when the media item is an show/season/episode.</p>
|
||||
<p><strong style="color: #fff;">Example:</strong></p>
|
||||
<pre>{user} has started playing {title} <tv>(S{season_num}E{episode_num})</tv></pre>
|
||||
<pre><show>{show_name}</show><seasom>{show_name} - Season {season_num}</season><episode>{show_name} - S{season_num}E{episode_num} - {episode_name}</episode> was recently added to Plex.</pre>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Music Tag</h4>
|
||||
<h4>Artist / Album / Track Tag</h4>
|
||||
</div>
|
||||
<div>
|
||||
<p class="help-block">All text inside <span class="inline-pre"><music></music></span> tags will only be sent when the media item is a track.</p>
|
||||
<p class="help-block">All text inside <span class="inline-pre"><artist></artist></span>/<span class="inline-pre"><album></album></span>/<span class="inline-pre"><track></track></span>
|
||||
tags will only be sent when the media item is a track.</p>
|
||||
<p><strong style="color: #fff;">Example:</strong></p>
|
||||
<pre>{user} has started playing {title} <music>(Track {track_num})</music></pre>
|
||||
<pre><artist>{artist_name}</artist><album>{artist_name} - {album_name}</album><track>{artist_name} - {album_name} - {track_name}</track> was recently added to Plex.</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue