mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Turn on logging of disabled user/library notifications
This commit is contained in:
parent
4b9b8d61f2
commit
a81dfe83a9
1 changed files with 2 additions and 2 deletions
|
@ -138,11 +138,11 @@ def notify_conditions(notify_action=None, stream_data=None, timeline_data=None):
|
||||||
library_details = library_data.get_details(section_id=stream_data['section_id'])
|
library_details = library_data.get_details(section_id=stream_data['section_id'])
|
||||||
|
|
||||||
if not user_details['do_notify']:
|
if not user_details['do_notify']:
|
||||||
# logger.debug(u"PlexPy NotificationHandler :: Notifications for user '%s' is disabled." % user_details['username'])
|
logger.debug(u"PlexPy NotificationHandler :: Notifications for user '%s' are disabled." % user_details['username'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
elif not library_details['do_notify'] and notify_action not in ('on_concurrent', 'on_newdevice'):
|
elif not library_details['do_notify'] and notify_action not in ('on_concurrent', 'on_newdevice'):
|
||||||
# logger.debug(u"PlexPy NotificationHandler :: Notifications for library '%s' is disabled." % library_details['section_name'])
|
logger.debug(u"PlexPy NotificationHandler :: Notifications for library '%s' are disabled." % library_details['section_name'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if notify_action == 'on_concurrent':
|
if notify_action == 'on_concurrent':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue