mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 00:06:07 -07:00
Add {machine_id} to notification options
This commit is contained in:
parent
e2120393a2
commit
db543b8912
2 changed files with 5 additions and 0 deletions
|
@ -1242,6 +1242,10 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
|
||||||
<td><strong>{user_id}</strong></td>
|
<td><strong>{user_id}</strong></td>
|
||||||
<td>The unique identifier for the user.</td>
|
<td>The unique identifier for the user.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><strong>{machine_id}</strong></td>
|
||||||
|
<td>The unique identifier for the player.</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<table class="notification-params">
|
<table class="notification-params">
|
||||||
|
|
|
@ -512,6 +512,7 @@ def build_notify_text(session=None, timeline=None, state=None):
|
||||||
'transcode_audio_channels': session.get('transcode_audio_channels',''),
|
'transcode_audio_channels': session.get('transcode_audio_channels',''),
|
||||||
'session_key': session.get('session_key',''),
|
'session_key': session.get('session_key',''),
|
||||||
'user_id': session.get('user_id',''),
|
'user_id': session.get('user_id',''),
|
||||||
|
'machine_id': session.get('machine_id',''),
|
||||||
# Metadata parameters
|
# Metadata parameters
|
||||||
'media_type': metadata['media_type'],
|
'media_type': metadata['media_type'],
|
||||||
'title': full_title,
|
'title': full_title,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue