mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Add support for commercial marker triggers
This commit is contained in:
parent
32bb98e8c1
commit
6b0b3a476f
5 changed files with 36 additions and 8 deletions
|
@ -348,6 +348,14 @@ def available_notification_actions(agent_id=None):
|
|||
'icon': 'fa-bookmark',
|
||||
'media_types': ('episode',)
|
||||
},
|
||||
{'label': 'Commercial Marker',
|
||||
'name': 'on_credits',
|
||||
'description': 'Trigger a notification when a video stream reaches any commercial marker.',
|
||||
'subject': 'Tautulli ({server_name})',
|
||||
'body': '{user} ({player}) has reached a commercial marker for {title}.',
|
||||
'icon': 'fa-bookmark',
|
||||
'media_types': ('movie', 'episode')
|
||||
},
|
||||
{'label': 'Credits Marker',
|
||||
'name': 'on_credits',
|
||||
'description': 'Trigger a notification when a video stream reaches any credits marker.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue