mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Add first_seen to user ips and add title attr with full date/time
This commit is contained in:
parent
40ecf56904
commit
63656b73c2
5 changed files with 48 additions and 12 deletions
|
@ -246,6 +246,7 @@ class Users(object):
|
|||
|
||||
columns = ['session_history.id AS history_row_id',
|
||||
'MAX(session_history.started) AS last_seen',
|
||||
'MIN(session_history.started) AS first_seen',
|
||||
'session_history.ip_address',
|
||||
'COUNT(session_history.id) AS play_count',
|
||||
'session_history.platform',
|
||||
|
@ -306,6 +307,7 @@ class Users(object):
|
|||
|
||||
row = {'history_row_id': item['history_row_id'],
|
||||
'last_seen': item['last_seen'],
|
||||
'first_seen': item['first_seen'],
|
||||
'ip_address': item['ip_address'],
|
||||
'play_count': item['play_count'],
|
||||
'platform': platform,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue