Fix platform in get_home_stats and get_user_player_stats API docs

This commit is contained in:
JonnyWong16 2022-05-16 15:06:45 -07:00
parent bff4a3f6ba
commit 27b72663d4
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -1744,13 +1744,15 @@ class WebInterface(object):
Returns: Returns:
json: json:
[{"platform_type": "Chrome", [{"platform": "Chrome",
"platform_name": "chrome",
"player_name": "Plex Web (Chrome)", "player_name": "Plex Web (Chrome)",
"result_id": 1, "result_id": 1,
"total_plays": 170, "total_plays": 170,
"total_time": 349618 "total_time": 349618
}, },
{"platform_type": "Chromecast", {"platform": "Chromecast",
"platform_name": "chromecast",
"player_name": "Chromecast", "player_name": "Chromecast",
"result_id": 2, "result_id": 2,
"total_plays": 42, "total_plays": 42,
@ -6195,7 +6197,6 @@ class WebInterface(object):
"live": 0, "live": 0,
"media_type": "episode", "media_type": "episode",
"platform": "", "platform": "",
"platform_type": "",
"rating_key": 1219, "rating_key": 1219,
"row_id": 1116, "row_id": 1116,
"section_id": 2, "section_id": 2,