From f65f5d07c0d0a16bfb53a56dc3245efb96fe2de8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Tue, 3 Sep 2019 19:52:54 -0700 Subject: [PATCH] Add product to get_history API command --- API.md | 5 +++-- plexpy/webserve.py | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/API.md b/API.md index a2ebc994..cca3802e 100644 --- a/API.md +++ b/API.md @@ -700,8 +700,9 @@ Returns: "parent_title": "", "paused_counter": 0, "percent_complete": 84, - "platform": "Chrome", - "player": "Plex Web (Chrome)", + "platform": "Windows", + "product": "Plex for Windows", + "player": "Castle-PC", "rating_key": 4348, "reference_id": 1123, "session_key": null, diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 2f4cc458..edff4cc9 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1630,8 +1630,9 @@ class WebInterface(object): "parent_title": "", "paused_counter": 0, "percent_complete": 84, - "platform": "Chrome", - "player": "Plex Web (Chrome)", + "platform": "Windows", + "product": "Plex for Windows", + "player": "Castle-PC", "rating_key": 4348, "reference_id": 1123, "session_key": null, @@ -1660,6 +1661,7 @@ class WebInterface(object): ("friendly_name", True, True), ("ip_address", True, True), ("platform", True, True), + ("product", True, True), ("player", True, True), ("full_title", True, True), ("started", True, False),