From 4a69012f67f7e3bca8babaee0c4638b390429a9f Mon Sep 17 00:00:00 2001 From: Fernando <fernandog@users.noreply.github.com> Date: Tue, 14 Jul 2015 15:10:26 -0300 Subject: [PATCH] Only notify plex if there's title and update_text https://github.com/SiCKRAGETV/sickrage-issues/issues/2106 --- sickbeard/notifiers/plex.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/notifiers/plex.py b/sickbeard/notifiers/plex.py index de496dfef..fccaa1db4 100644 --- a/sickbeard/notifiers/plex.py +++ b/sickbeard/notifiers/plex.py @@ -151,7 +151,8 @@ class PLEXNotifier: if sickbeard.USE_PLEX: update_text = common.notifyStrings[common.NOTIFY_GIT_UPDATE_TEXT] title = common.notifyStrings[common.NOTIFY_GIT_UPDATE] - self._notify_pmc(update_text + new_version, title) + if update_text and title and new_version: + self._notify_pmc(update_text + new_version, title) def test_notify_pmc(self, host, username, password): return self._notify_pmc('This is a test notification from SickRage', 'Test Notification', host, username, password, force=True) -- GitLab