Add playback error notification trigger

This commit is contained in:
JonnyWong16 2020-09-21 18:31:19 -07:00
parent 7ce92d5f17
commit 93997c11dc
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 50 additions and 6 deletions

View file

@ -295,6 +295,14 @@ def available_notification_actions(agent_id=None):
'icon': 'fa-play',
'media_types': ('movie', 'episode', 'track')
},
{'label': 'Playback Error',
'name': 'on_error',
'description': 'Trigger a notification when a stream encounters an error.',
'subject': 'Tautulli ({server_name})',
'body': '{user} ({player}) encountered an error trying to play {title}.',
'icon': 'fa-exclamation-triangle',
'media_types': ('movie', 'episode', 'track')
},
{'label': 'Transcode Decision Change',
'name': 'on_change',
'description': 'Trigger a notification when a stream changes transcode decision.',