mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add missing user concurrent stream script
This commit is contained in:
parent
0b085b6d03
commit
9d9103a83b
2 changed files with 11 additions and 1 deletions
|
@ -2108,6 +2108,9 @@ class Scripts(object):
|
|||
elif notify_action == 'pmsupdate':
|
||||
script = plexpy.CONFIG.SCRIPTS_ON_PMSUPDATE_SCRIPT
|
||||
|
||||
elif notify_action == 'concurrent':
|
||||
script = plexpy.CONFIG.SCRIPTS_ON_CONCURRENT_SCRIPT
|
||||
|
||||
else:
|
||||
# For manual scripts
|
||||
script = kwargs.get('script', '')
|
||||
|
@ -2284,6 +2287,13 @@ class Scripts(object):
|
|||
'description': 'Choose the script for Plex update available.',
|
||||
'input_type': 'select',
|
||||
'select_options': self.list_scripts()
|
||||
},
|
||||
{'label': 'User Concurrent Streams',
|
||||
'value': plexpy.CONFIG.SCRIPTS_ON_CONCURRENT_SCRIPT,
|
||||
'name': 'scripts_on_concurrent_script',
|
||||
'description': 'Choose the script for user concurrent streams.',
|
||||
'input_type': 'select',
|
||||
'select_options': self.list_scripts()
|
||||
}
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue