From 4c5ea1a5ebc181c198b323f92a5a381bf6d3ff34 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 5 May 2014 18:20:49 -0400 Subject: [PATCH] Fixes notification about XBMC host not being passed. Fixes echel0n/SickRage#389 --- sickbeard/notifiers/plex.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sickbeard/notifiers/plex.py b/sickbeard/notifiers/plex.py index 2b4dd9eb..32b37080 100644 --- a/sickbeard/notifiers/plex.py +++ b/sickbeard/notifiers/plex.py @@ -37,7 +37,11 @@ class PLEXNotifier(XBMCNotifier): def _notify_pmc(self, message, title="Sick Beard", host=None, username=None, password=None, force=False): # fill in omitted parameters if not host: - host = sickbeard.PLEX_HOST + if sickbeard.PLEX_HOST: + host = sickbeard.PLEX_HOST # Use the default Plex host + else: + logger.log(u"No Plex host specified, check your settings", logger.DEBUG) + return False if not username: username = sickbeard.PLEX_USERNAME if not password: