From 0e2df4ba146cb82cc473fc257eb2e54d72dc4020 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 21 Dec 2017 10:47:32 -0800 Subject: [PATCH] Add note to enable 3rd party APIs for link lookup --- data/interfaces/default/settings.html | 6 +++--- plexpy/notifiers.py | 30 ++++++++++++++++++--------- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index f5a46270..ad799b76 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -827,7 +827,7 @@

Enable to upload Plex posters to Imgur for notifications. Disable if posters are not being used to save bandwidth.

@@ -848,13 +848,13 @@ -

Enable to lookup links to TheMovieDB for movies and TV shows when available.

+

Enable to lookup links to TheMovieDB (and IMDb if needed) for movies and TV shows when available.

-

Enable to lookup links to TVmaze for TV shows when available.

+

Enable to lookup links to TVmaze (and IMDb if needed) for TV shows when available.

diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index d8e0794b..a1faf5f8 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1203,14 +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.', + '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.', '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.', + '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.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -1533,14 +1535,16 @@ class FACEBOOK(Notifier): {'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.', + '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.', '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.', + '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.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -1872,14 +1876,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.', + '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.', '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.', + '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.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -2678,14 +2684,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.', + '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.', '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.', + '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.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() }, @@ -3038,14 +3046,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.', + '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.', '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.', + '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.', 'input_type': 'select', 'select_options': PrettyMetadata().get_tv_providers() },