mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Don't return inside the loop after sending XBMC/Plex notifications
This commit is contained in:
parent
36398fe958
commit
9e41bf529d
1 changed files with 6 additions and 4 deletions
|
@ -786,12 +786,13 @@ class XBMC(object):
|
||||||
raise Exception
|
raise Exception
|
||||||
else:
|
else:
|
||||||
logger.info(u"PlexPy Notifiers :: XBMC notification sent.")
|
logger.info(u"PlexPy Notifiers :: XBMC notification sent.")
|
||||||
return True
|
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warn(u"PlexPy Notifiers :: XBMC notification filed.")
|
logger.warn(u"PlexPy Notifiers :: XBMC notification failed.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
def return_config_options(self):
|
def return_config_options(self):
|
||||||
config_option = [{'label': 'XBMC Host:Port',
|
config_option = [{'label': 'XBMC Host:Port',
|
||||||
'value': self.hosts,
|
'value': self.hosts,
|
||||||
|
@ -870,11 +871,12 @@ class Plex(object):
|
||||||
raise Exception
|
raise Exception
|
||||||
else:
|
else:
|
||||||
logger.info(u"PlexPy Notifiers :: Plex Home Theater notification sent.")
|
logger.info(u"PlexPy Notifiers :: Plex Home Theater notification sent.")
|
||||||
return True
|
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warn(u"PlexPy Notifiers :: Plex Home Theater notification filed.")
|
logger.warn(u"PlexPy Notifiers :: Plex Home Theater notification failed.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
def return_config_options(self):
|
def return_config_options(self):
|
||||||
config_option = [{'label': 'Plex Home Theater Host:Port',
|
config_option = [{'label': 'Plex Home Theater Host:Port',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue