mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add Product column to history tables
This commit is contained in:
parent
589fbd3158
commit
a9b10c4560
7 changed files with 44 additions and 24 deletions
|
@ -76,6 +76,7 @@ class DataFactory(object):
|
|||
'(CASE WHEN users.friendly_name IS NULL OR TRIM(users.friendly_name) = "" \
|
||||
THEN users.username ELSE users.friendly_name END) AS friendly_name',
|
||||
'platform',
|
||||
'product',
|
||||
'player',
|
||||
'ip_address',
|
||||
'session_history.media_type',
|
||||
|
@ -123,6 +124,7 @@ class DataFactory(object):
|
|||
'(CASE WHEN friendly_name IS NULL OR TRIM(friendly_name) = "" \
|
||||
THEN user ELSE friendly_name END) AS friendly_name',
|
||||
'platform',
|
||||
'product',
|
||||
'player',
|
||||
'ip_address',
|
||||
'media_type',
|
||||
|
@ -225,6 +227,7 @@ class DataFactory(object):
|
|||
'user': item['user'],
|
||||
'friendly_name': item['friendly_name'],
|
||||
'platform': platform,
|
||||
'product': item['product'],
|
||||
'player': item['player'],
|
||||
'ip_address': item['ip_address'],
|
||||
'media_type': item['media_type'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue