Add machine_id to get_history API response
This commit is contained in:
@@ -99,6 +99,7 @@ class DataFactory(object):
|
|||||||
'product',
|
'product',
|
||||||
'player',
|
'player',
|
||||||
'ip_address',
|
'ip_address',
|
||||||
|
'machine_id',
|
||||||
'session_history.media_type',
|
'session_history.media_type',
|
||||||
'session_history_metadata.rating_key',
|
'session_history_metadata.rating_key',
|
||||||
'session_history_metadata.parent_rating_key',
|
'session_history_metadata.parent_rating_key',
|
||||||
@@ -151,6 +152,7 @@ class DataFactory(object):
|
|||||||
'product',
|
'product',
|
||||||
'player',
|
'player',
|
||||||
'ip_address',
|
'ip_address',
|
||||||
|
'machine_id',
|
||||||
'media_type',
|
'media_type',
|
||||||
'rating_key',
|
'rating_key',
|
||||||
'parent_rating_key',
|
'parent_rating_key',
|
||||||
@@ -263,6 +265,7 @@ class DataFactory(object):
|
|||||||
'player': item['player'],
|
'player': item['player'],
|
||||||
'ip_address': item['ip_address'],
|
'ip_address': item['ip_address'],
|
||||||
'live': item['live'],
|
'live': item['live'],
|
||||||
|
'machine_id': item['machine_id'],
|
||||||
'media_type': item['media_type'],
|
'media_type': item['media_type'],
|
||||||
'rating_key': item['rating_key'],
|
'rating_key': item['rating_key'],
|
||||||
'parent_rating_key': item['parent_rating_key'],
|
'parent_rating_key': item['parent_rating_key'],
|
||||||
|
@@ -1871,6 +1871,7 @@ class WebInterface(object):
|
|||||||
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
|
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
|
||||||
"ip_address": "xxx.xxx.xxx.xxx",
|
"ip_address": "xxx.xxx.xxx.xxx",
|
||||||
"live": 0,
|
"live": 0,
|
||||||
|
"machine_id": "lmd93nkn12k29j2lnm",
|
||||||
"media_index": 17,
|
"media_index": 17,
|
||||||
"media_type": "episode",
|
"media_type": "episode",
|
||||||
"originally_available_at": "2016-04-24",
|
"originally_available_at": "2016-04-24",
|
||||||
|
Reference in New Issue
Block a user