mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Only update the database sessions every 60 seconds while playing
This commit is contained in:
parent
9b4536f132
commit
157af84226
5 changed files with 21 additions and 8 deletions
|
@ -951,7 +951,8 @@ class DataFactory(object):
|
|||
'transcode_hw_encoding': item['transcode_hw_encoding'],
|
||||
'media_type': item['media_type'],
|
||||
'title': item['title'],
|
||||
'grandparent_title': item['grandparent_title']
|
||||
'grandparent_title': item['grandparent_title'],
|
||||
'current_session': 1 if session_key else 0
|
||||
}
|
||||
|
||||
stream_output = {k: v or '' for k, v in stream_output.iteritems()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue