diff --git a/plexpy/config.py b/plexpy/config.py index ef71cd1e..5c5ade78 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -213,7 +213,7 @@ _CONFIG_DEFINITIONS = { 'HTTP_ROOT': (str, 'General', ''), 'HTTP_USERNAME': (str, 'General', ''), 'HIPCHAT_URL': (str, 'Hipchat', ''), - 'HIPCHAT_COLOR': (str, 'Hipchat', 'green'), + 'HIPCHAT_COLOR': (str, 'Hipchat', ''), 'HIPCHAT_INCL_SUBJECT': (int, 'Hipchat', 1), 'HIPCHAT_EMOTICON': (str, 'Hipchat', ''), 'HIPCHAT_ENABLED': (int, 'Hipchat', 0), diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 6a6c9efb..97413cb2 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -2769,11 +2769,13 @@ class HIPCHAT(object): if self.emoticon: text = self.emoticon + ' ' + text - data = {'color': self.color, - 'message': text, + data = {'message': text, 'notify': 'false', 'message_format': 'text'} + if self.color: + data['color'] = self.color + hiphost = urlparse(self.apiurl).hostname hippath = urlparse(self.apiurl).path hipquery = urlparse(self.apiurl).query