From 274801ee0b86d8ccc6dbd9d649977c622b8e93ac Mon Sep 17 00:00:00 2001
From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Date: Sat, 6 Nov 2021 19:52:32 -0800
Subject: [PATCH] Add note for music provider 3rd party API
---
plexpy/notifiers.py | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py
index f1b90bdf..0003dd99 100644
--- a/plexpy/notifiers.py
+++ b/plexpy/notifiers.py
@@ -1185,7 +1185,9 @@ class DISCORD(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'discord_music_provider',
- 'description': 'Select the source for music links on the info cards. Leave blank to disable.',
+ 'description': 'Select the source for music links on the info cards. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -1555,7 +1557,9 @@ class FACEBOOK(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'facebook_music_provider',
- 'description': 'Select the source for music links on the info cards. Leave blank to disable.',
+ 'description': 'Select the source for music links on the info cards. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -1926,7 +1930,9 @@ class JOIN(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'join_music_provider',
- 'description': 'Select the source for music links in the notification. Leave blank to disable.',
+ 'description': 'Select the source for music links in the notification. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -2204,7 +2210,9 @@ class MICROSOFTTEAMS(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'microsoftteams_music_provider',
- 'description': 'Select the source for music links on the info cards. Leave blank to disable.',
+ 'description': 'Select the source for music links on the info cards. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -3108,7 +3116,9 @@ class PUSHOVER(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'pushover_music_provider',
- 'description': 'Select the source for music links in the notification. Leave blank to disable.',
+ 'description': 'Select the source for music links in the notification. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -3513,7 +3523,9 @@ class SLACK(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'slack_music_provider',
- 'description': 'Select the source for music links on the info cards. Leave blank to disable.',
+ 'description': 'Select the source for music links on the info cards. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}
@@ -4197,7 +4209,9 @@ class ZAPIER(Notifier):
{'label': 'Music Link Source',
'value': self.config['music_provider'],
'name': 'zapier_music_provider',
- 'description': 'Select the source for music links in the notification. Leave blank to disable.',
+ 'description': 'Select the source for music links in the notification. Leave blank to disable.
'
+ 'Note: Metadata Lookups '
+ 'may need to be enabled under the 3rd Party APIs settings tab.',
'input_type': 'select',
'select_options': PrettyMetadata().get_music_providers()
}