mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 21:53:37 +00:00
Merge pull request #409 from nightexcessive/bugfix/plex-notifications-389
A fix for #389
This commit is contained in:
commit
65c1dc29af
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ class PLEXNotifier(XBMCNotifier):
|
||||||
def _notify_pmc(self, message, title="Sick Beard", host=None, username=None, password=None, force=False):
|
def _notify_pmc(self, message, title="Sick Beard", host=None, username=None, password=None, force=False):
|
||||||
# fill in omitted parameters
|
# fill in omitted parameters
|
||||||
if not host:
|
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:
|
if not username:
|
||||||
username = sickbeard.PLEX_USERNAME
|
username = sickbeard.PLEX_USERNAME
|
||||||
if not password:
|
if not password:
|
||||||
|
|
Loading…
Reference in a new issue