From 27b72663d4d4df960f1bdcc1417ecb5c24ecc281 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 16 May 2022 15:06:45 -0700 Subject: [PATCH] Fix platform in get_home_stats and get_user_player_stats API docs --- plexpy/webserve.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 925bf49b..495f5286 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1744,13 +1744,15 @@ class WebInterface(object): Returns: json: - [{"platform_type": "Chrome", + [{"platform": "Chrome", + "platform_name": "chrome", "player_name": "Plex Web (Chrome)", "result_id": 1, "total_plays": 170, "total_time": 349618 }, - {"platform_type": "Chromecast", + {"platform": "Chromecast", + "platform_name": "chromecast", "player_name": "Chromecast", "result_id": 2, "total_plays": 42, @@ -6195,7 +6197,6 @@ class WebInterface(object): "live": 0, "media_type": "episode", "platform": "", - "platform_type": "", "rating_key": 1219, "row_id": 1116, "section_id": 2,