Rename last watched to last played

This commit is contained in:
JonnyWong16 2016-01-23 14:06:25 -08:00
commit b1ea3bcd4e
12 changed files with 22 additions and 22 deletions

View file

@ -34,7 +34,7 @@ class Users(object):
'COUNT(session_history.id) AS plays',
'MAX(session_history.started) AS last_seen',
'MAX(session_history.id) AS id',
'session_history_metadata.full_title AS last_watched',
'session_history_metadata.full_title AS last_played',
'session_history.ip_address',
'session_history.platform',
'session_history.player',
@ -97,7 +97,7 @@ class Users(object):
'user_thumb': user_thumb,
'plays': item['plays'],
'last_seen': item['last_seen'],
'last_watched': item['last_watched'],
'last_played': item['last_played'],
'id': item['id'],
'ip_address': item['ip_address'],
'platform': platform,
@ -132,7 +132,7 @@ class Users(object):
'COUNT(session_history.id) AS play_count',
'session_history.platform',
'session_history.player',
'session_history_metadata.full_title AS last_watched',
'session_history_metadata.full_title AS last_played',
'session_history_metadata.thumb',
'session_history_metadata.parent_thumb',
'session_history_metadata.grandparent_thumb',
@ -188,7 +188,7 @@ class Users(object):
'play_count': item['play_count'],
'platform': platform,
'player': item['player'],
'last_watched': item['last_watched'],
'last_played': item['last_played'],
'thumb': thumb,
'media_type': item['media_type'],
'rating_key': item['rating_key'],