mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Add notification triggers for intro/credit markers
This commit is contained in:
parent
9a152932ee
commit
71bc063155
4 changed files with 76 additions and 1 deletions
|
@ -340,6 +340,22 @@ def available_notification_actions(agent_id=None):
|
|||
'icon': 'fa-exchange-alt',
|
||||
'media_types': ('movie', 'episode', 'track')
|
||||
},
|
||||
{'label': 'Intro Marker',
|
||||
'name': 'on_intro',
|
||||
'description': 'Trigger a notification when a video stream reaches any intro marker.',
|
||||
'subject': 'Tautulli ({server_name})',
|
||||
'body': '{user} ({player}) has reached an intro marker for {title}.',
|
||||
'icon': 'fa-bookmark',
|
||||
'media_types': ('episode',)
|
||||
},
|
||||
{'label': 'Credits Marker',
|
||||
'name': 'on_credits',
|
||||
'description': 'Trigger a notification when a video stream reaches any credits marker.',
|
||||
'subject': 'Tautulli ({server_name})',
|
||||
'body': '{user} ({player}) has reached a credits marker for {title}.',
|
||||
'icon': 'fa-bookmark',
|
||||
'media_types': ('movie', 'episode')
|
||||
},
|
||||
{'label': 'Watched',
|
||||
'name': 'on_watched',
|
||||
'description': 'Trigger a notification when a video stream reaches the specified watch percentage.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue