From 1d0ece57c9e1cc9f37ca9e0047a6a16148011f87 Mon Sep 17 00:00:00 2001
From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Date: Wed, 2 Jun 2021 11:30:30 -0700
Subject: [PATCH] Fix notification agent help text tab links
---
plexpy/notifiers.py | 48 ++++++++++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 18 deletions(-)
diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py
index 927b1873..5fce3beb 100644
--- a/plexpy/notifiers.py
+++ b/plexpy/notifiers.py
@@ -1033,7 +1033,7 @@ class ANDROIDAPP(Notifier):
'label': 'Device',
'value': self.config['device_id'],
'name': 'androidapp_device_id',
- 'description': 'Set your mobile device or '
+ 'description': 'Select your mobile device or '
''
'register a new device with Tautulli.
'
'Note: Only devices registered with a valid OneSignal ID will appear in the list.',
@@ -1308,7 +1308,7 @@ class DISCORD(Notifier):
'description': 'Include an info card with a poster and metadata with the notifications.
'
'Note: Image Hosting '
- 'must be enabled under the notifications settings tab.',
+ 'must be enabled under the 3rd Party APIs settings tab.',
'input_type': 'checkbox'
},
{'label': 'Include Plot Summaries',
@@ -1333,7 +1333,8 @@ class DISCORD(Notifier):
'value': self.config['movie_provider'],
'name': 'discord_movie_provider',
'description': 'Select the source for movie links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -1341,7 +1342,8 @@ class DISCORD(Notifier):
'value': self.config['tv_provider'],
'name': 'discord_tv_provider',
'description': 'Select the source for tv show links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},
@@ -1694,14 +1696,15 @@ class FACEBOOK(Notifier):
'description': 'Include an info card with a poster and metadata with the notifications.
'
'Note: Image Hosting '
- 'must be enabled under the notifications settings tab.',
+ 'must be enabled under the 3rd Party APIs settings tab.',
'input_type': 'checkbox'
},
{'label': 'Movie Link Source',
'value': self.config['movie_provider'],
'name': 'facebook_movie_provider',
'description': 'Select the source for movie links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -1709,7 +1712,8 @@ class FACEBOOK(Notifier):
'value': self.config['tv_provider'],
'name': 'facebook_tv_provider',
'description': 'Select the source for tv show links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},
@@ -2063,14 +2067,15 @@ class JOIN(Notifier):
'description': 'Include a poster with the notifications.
'
'Note: Image Hosting '
- 'must be enabled under the notifications settings tab.',
+ 'must be enabled under the 3rd Party APIs settings tab.',
'input_type': 'checkbox'
},
{'label': 'Movie Link Source',
'value': self.config['movie_provider'],
'name': 'join_movie_provider',
'description': 'Select the source for movie links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -2078,7 +2083,8 @@ class JOIN(Notifier):
'value': self.config['tv_provider'],
'name': 'join_tv_provider',
'description': 'Select the source for tv show links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},
@@ -2962,7 +2968,8 @@ class PUSHOVER(Notifier):
'value': self.config['movie_provider'],
'name': 'pushover_movie_provider',
'description': 'Select the source for movie links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -2970,7 +2977,8 @@ class PUSHOVER(Notifier):
'value': self.config['tv_provider'],
'name': 'pushover_tv_provider',
'description': 'Select the source for tv show links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},
@@ -3340,7 +3348,7 @@ class SLACK(Notifier):
'description': 'Include an info card with a poster and metadata with the notifications.
'
'Note: Image Hosting '
- 'must be enabled under the notifications settings tab.',
+ 'must be enabled under the 3rd Party APIs settings tab.',
'input_type': 'checkbox'
},
{'label': 'Include Plot Summaries',
@@ -3365,7 +3373,8 @@ class SLACK(Notifier):
'value': self.config['movie_provider'],
'name': 'slack_movie_provider',
'description': 'Select the source for movie links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -3373,7 +3382,8 @@ class SLACK(Notifier):
'value': self.config['tv_provider'],
'name': 'slack_tv_provider',
'description': 'Select the source for tv show links on the info cards. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},
@@ -3599,7 +3609,7 @@ class TWITTER(Notifier):
'description': 'Include a poster with the notifications.
'
'Note: Image Hosting '
- 'must be enabled under the notifications settings tab.',
+ 'must be enabled under the 3rd Party APIs settings tab.',
'input_type': 'checkbox'
}
]
@@ -3853,7 +3863,8 @@ class ZAPIER(Notifier):
'value': self.config['movie_provider'],
'name': 'zapier_movie_provider',
'description': 'Select the source for movie links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_movie_providers()
},
@@ -3861,7 +3872,8 @@ class ZAPIER(Notifier):
'value': self.config['tv_provider'],
'name': 'zapier_tv_provider',
'description': 'Select the source for tv show links in the notification. Leave blank to disable.
'
- 'Note: 3rd party API lookup may need to be enabled under the notifications settings tab.',
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_tv_providers()
},