mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 07:22:37 -07:00
Add setting to enable Live TV logging
This commit is contained in:
parent
81ab9b006d
commit
5d1bc3cf9b
4 changed files with 13 additions and 2 deletions
|
@ -227,7 +227,10 @@ class ActivityProcessor(object):
|
|||
u"seconds, so we're not logging it." %
|
||||
(session['rating_key'], str(real_play_time), import_ignore_interval))
|
||||
|
||||
if not is_import and not user_details['keep_history']:
|
||||
if not is_import and session['live'] and not plexpy.CONFIG.LOGGING_LIVE_TV:
|
||||
logging_enabled = False
|
||||
logger.debug(u"Tautulli ActivityProcessor :: History logging for Live TV is disabled.")
|
||||
elif not is_import and not user_details['keep_history']:
|
||||
logging_enabled = False
|
||||
logger.debug(u"Tautulli ActivityProcessor :: History logging for user '%s' is disabled." % user_details['username'])
|
||||
elif not is_import and not library_details['keep_history']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue