<%! from plexpy import helpers, notifiers available_notification_actions = notifiers.available_notification_actions() %> % if notifier:

#### ${notifier['agent_label']} Settings (Notifier ID: ${notifier['id']})

% for item in notifier['config']: % if item['input_type'] == 'help':
${item['label']}

${item['description'] | n}

% elif item['input_type'] == 'text' or item['input_type'] == 'number' or item['input_type'] == 'password':
${item['label']}
% if item['name'] == 'osx_notify_app': Register % endif

${item['description'] | n}

% elif item['input_type'] == 'button':
${item['label']}

${item['description'] | n}

% elif item['input_type'] == 'checkbox':
${item['label']}

${item['description'] | n}

% elif item['input_type'] == 'select':
${item['label']}

${item['description'] | n}

% endif % endfor
Friendly Identifier

Optional: enter a friendly identifier the notification agent (e.g. Recently Added)

Select items that will trigger a notification for this ${notifier['agent_label']} notifiation agent.

% for action in available_notification_actions:
Notify on ${action['label']}

${action['description'] | n}

% endfor

% if notifier['agent_name'] == 'scripts': Set the custom arguments passed to the script for each type of notification.
% else: Set the custom formatted text for each type of notification.
% endif Click here for a list of available parameters which can be used.

You can also add tags to exclude certain text depending on the media type.
Click here to view usage information.

% if notifier['agent_name'] == 'scripts': % for action in available_notification_actions:
- ${action['label']}
  - Script Arguments

    Set custom arguments passed to the script.

% endfor % else: % for action in available_notification_actions:
- ${action['label']}
  - Subject Line

    Set a custom subject line.

    Message Body ${notifier['notify_text'][action['name']]['body']}

    Set a custom body.

% endfor % endif

Test if ${notifier['agent_label']} notifications are working. See the logs for troubleshooting.

% if notifier['agent_name'] == 'scripts':
Script

Choose the script to test.

Script Arguments

Set custom arguments passed to the script.

% else:
Subject Line

Set a custom subject line.

Message Body

Set a custom body.

% endif
% endif