diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index c4f9abf5..d52fa597 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1178,7 +1178,8 @@ class DISCORD(Notifier): {'label': 'Include Rich Metadata Info', 'value': self.config['incl_card'], 'name': 'discord_incl_card', - 'description': 'Include an info card with a poster and metadata with the notifications.', + 'description': 'Include an info card with a poster and metadata with the notifications.
' + 'Imgur upload may need to be enabled under the notifications settings tab.', 'input_type': 'checkbox' }, {'label': 'Include Plot Summaries', @@ -1202,16 +1203,16 @@ class DISCORD(Notifier): {'label': 'Movie Link Source', 'value': self.config['movie_provider'], 'name': 'discord_movie_provider', - 'description': 'Select the source for movie links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'discord_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -1361,7 +1362,7 @@ class EMAIL(Notifier): {'label': 'Enable HTML Support', 'value': self.config['html_support'], 'name': 'email_html_support', - 'description': 'Style your messages using HTML tags. ' + 'description': 'Style your messages using HTML tags. ' 'Line breaks (<br>) will be inserted automatically.', 'input_type': 'checkbox' } @@ -1475,17 +1476,17 @@ class FACEBOOK(Notifier): def return_config_options(self): config_option = [{'label': 'Instructions', - 'description': 'Step 1: Visit \ - Facebook Developers to add a new app using basic setup.
\ - Step 2: Click Add Product on the left, then Get Started \ - for Facebook Login.
\ - Step 3: Fill in Valid OAuth redirect URIs with your Tautulli URL (e.g. http://localhost:8181).
\ - Step 4: Click App Review on the left and toggle "make public" to Yes.
\ - Step 5: Fill in the Tautulli URL below with the exact same URL from Step 3.
\ - Step 6: Fill in the App ID and App Secret below.
\ - Step 7: Click the Request Authorization button below to retrieve your access token.
\ - Step 8: Fill in your Access Token below if it is not filled in automatically.
\ - Step 9: Fill in your Group ID number below. It can be found in the URL of your group page.', + 'description': 'Step 1: Visit ' + 'Facebook Developers to add a new app using basic setup.
' + 'Step 2: Click Add Product on the left, then Get Started' + 'for Facebook Login.
' + 'Step 3: Fill in Valid OAuth redirect URIs with your Tautulli URL (e.g. http://localhost:8181).
' + 'Step 4: Click App Review on the left and toggle "make public" to Yes.
' + 'Step 5: Fill in the Tautulli URL below with the exact same URL from Step 3.
' + 'Step 6: Fill in the App ID and App Secret below.
' + 'Step 7: Click the Request Authorization button below to retrieve your access token.
' + 'Step 8: Fill in your Access Token below if it is not filled in automatically.
' + 'Step 9: Fill in your Group ID number below. It can be found in the URL of your group page.', 'input_type': 'help' }, {'label': 'Tautulli URL', @@ -1534,22 +1535,23 @@ class FACEBOOK(Notifier): {'label': 'Include Rich Metadata Info', 'value': self.config['incl_card'], 'name': 'facebook_incl_card', - 'description': 'Include an info card with a poster and metadata with the notifications.', + 'description': 'Include an info card with a poster and metadata with the notifications.
' + 'Imgur upload may need to be enabled under the notifications 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 for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'facebook_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -1854,6 +1856,7 @@ class HIPCHAT(Notifier): 'value': self.config['incl_card'], 'name': 'hipchat_incl_card', 'description': 'Include an info card with a poster and metadata with the notifications.
' + 'Imgur upload may need to be enabled under the notifications settings tab.
' 'Note: This will change the notification type to HTML and emoticons will no longer work.', 'input_type': 'checkbox' }, @@ -1872,16 +1875,16 @@ class HIPCHAT(Notifier): {'label': 'Movie Link Source', 'value': self.config['movie_provider'], 'name': 'hipchat_movie_provider', - 'description': 'Select the source for movie links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'hipchat_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -2064,22 +2067,23 @@ class JOIN(Notifier): {'label': 'Include Poster Image', 'value': self.config['incl_poster'], 'name': 'join_incl_poster', - 'description': 'Include a poster with the notifications.', + 'description': 'Include a poster with the notifications.
' + 'Imgur upload may need to be enabled under the notifications 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 on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'join_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -2712,16 +2716,16 @@ class PUSHOVER(Notifier): {'label': 'Movie Link Source', 'value': self.config['movie_provider'], 'name': 'pushover_movie_provider', - 'description': 'Select the source for movie links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'pushover_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -3047,7 +3051,8 @@ class SLACK(Notifier): {'label': 'Include Rich Metadata Info', 'value': self.config['incl_card'], 'name': 'slack_incl_card', - 'description': 'Include an info card with a poster and metadata with the notifications.', + 'description': 'Include an info card with a poster and metadata with the notifications.
' + 'Imgur upload may need to be enabled under the notifications settings tab.', 'input_type': 'checkbox' }, {'label': 'Include Plot Summaries', @@ -3071,16 +3076,16 @@ class SLACK(Notifier): {'label': 'Movie Link Source', 'value': self.config['movie_provider'], 'name': 'slack_movie_provider', - 'description': 'Select the source for movie links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for movie links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_movie_providers() }, {'label': 'TV Show Link Source', 'value': self.config['tv_provider'], 'name': 'slack_tv_provider', - 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
\ - 3rd party API lookup may need to be enabled under the notification settings tab.', + 'description': 'Select the source for tv show links on the info cards. Leave blank for default.
' + '3rd party API lookup may need to be enabled under the notifications settings tab.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -3172,7 +3177,8 @@ class TELEGRAM(Notifier): {'label': 'Include Poster Image', 'value': self.config['incl_poster'], 'name': 'telegram_incl_poster', - 'description': 'Include a poster with the notifications.', + 'description': 'Include a poster with the notifications.
' + 'Imgur upload may need to be enabled under the notifications settings tab.', 'input_type': 'checkbox' }, {'label': 'Enable HTML Support', @@ -3240,12 +3246,12 @@ class TWITTER(Notifier): def return_config_options(self): config_option = [{'label': 'Instructions', - 'description': 'Step 1: Visit \ - Twitter Apps to Create New App. A vaild "Website" is not required.
\ - Step 2: Go to Keys and Access Tokens and click \ - Create my access token.
\ - Step 3: Fill in the Consumer Key, Consumer Secret, \ - Access Token, and Access Token Secret below.', + 'description': 'Step 1: Visit ' + 'Twitter Apps to Create New App. A vaild "Website" is not required.
' + 'Step 2: Go to Keys and Access Tokens and click ' + 'Create my access token.
' + 'Step 3: Fill in the Consumer Key, Consumer Secret, ' + 'Access Token, and Access Token Secret below.', 'input_type': 'help' }, {'label': 'Twitter Consumer Key', @@ -3281,7 +3287,8 @@ class TWITTER(Notifier): {'label': 'Include Poster Image', 'value': self.config['incl_poster'], 'name': 'twitter_incl_poster', - 'description': 'Include a poster with the notifications.', + 'description': 'Include a poster with the notifications.
' + 'Imgur upload may need to be enabled under the notifications settings tab.', 'input_type': 'checkbox' } ]