Add machine_id to get_history API response

This commit is contained in:
JonnyWong16 2020-11-08 12:34:03 -08:00
parent da8d41868d
commit dfb60de6d2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 4 additions and 0 deletions

View file

@ -99,6 +99,7 @@ class DataFactory(object):
'product',
'player',
'ip_address',
'machine_id',
'session_history.media_type',
'session_history_metadata.rating_key',
'session_history_metadata.parent_rating_key',
@ -151,6 +152,7 @@ class DataFactory(object):
'product',
'player',
'ip_address',
'machine_id',
'media_type',
'rating_key',
'parent_rating_key',
@ -263,6 +265,7 @@ class DataFactory(object):
'player': item['player'],
'ip_address': item['ip_address'],
'live': item['live'],
'machine_id': item['machine_id'],
'media_type': item['media_type'],
'rating_key': item['rating_key'],
'parent_rating_key': item['parent_rating_key'],

View file

@ -1871,6 +1871,7 @@ class WebInterface(object):
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
"ip_address": "xxx.xxx.xxx.xxx",
"live": 0,
"machine_id": "lmd93nkn12k29j2lnm",
"media_index": 17,
"media_type": "episode",
"originally_available_at": "2016-04-24",