mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 17:52:59 -07:00
Add location, relayed, and secure to get_history response
This commit is contained in:
parent
484c7ed4a2
commit
12dddc2d89
2 changed files with 16 additions and 1 deletions
|
@ -1920,6 +1920,7 @@ class WebInterface(object):
|
|||
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"live": 0,
|
||||
"location": "wan",
|
||||
"machine_id": "lmd93nkn12k29j2lnm",
|
||||
"media_index": 17,
|
||||
"media_type": "episode",
|
||||
|
@ -1934,7 +1935,9 @@ class WebInterface(object):
|
|||
"player": "Castle-PC",
|
||||
"rating_key": 4348,
|
||||
"reference_id": 1123,
|
||||
"relayed": 0,
|
||||
"row_id": 1124,
|
||||
"secure": 1,
|
||||
"session_key": null,
|
||||
"started": 1462688107,
|
||||
"state": null,
|
||||
|
@ -2130,7 +2133,10 @@ class WebInterface(object):
|
|||
if not helpers.is_valid_ip(ip_address):
|
||||
ip_address = None
|
||||
|
||||
return serve_template(templatename="ip_address_modal.html", title="IP Address Details", data=ip_address)
|
||||
public = helpers.is_public_ip(ip_address)
|
||||
|
||||
return serve_template(templatename="ip_address_modal.html", title="IP Address Details",
|
||||
data=ip_address, public=public, kwargs=kwargs)
|
||||
|
||||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue