Protocol Specs

]
}
Example: heos://player/get_players
4.2.2 Get Player Info
Command: heos://player/get_player_info?pid=player_id
Attribute Description Enumeration
pid Player id returned by 'get_players' or 'get_groups' command N/A
gid pid of the Group leader N/A
network Network connection type wired
wifi
lineout LineOut level type 1 - variable
2 - Fixed
control Only valid when lintout level type is Fixed (2). 1 - None
2 - IR
3 - Trigger
4 - Network
Note: The group id field (gid) is optional. The 'gid' field will only be appeared if the player(s) is part of a group.
Note: control field is only populated when lineout level type is Fixed (lineout = 2)
Response:
{
"heos": {
"command": "player/get_player_info",
"result": "success",
"message": "pid='player_id'"
},
"payload": {
"name": "'player name'",
"pid": "player id'",
"gid": "group id'",
"model": "'player model'",
"version": "'player verison'"
"network": "wired"
"lineout": "level type"
"control": "control option"
}
}
Example: heos://player/get_player_info?pid=1
4.2.3 Get Play State
Command: heos://player/get_play_state?pid=player_id
Attribute Description Enumeration
pid Player id returned by 'get_players' or 'get_groups' command N/A
Response:
{
"heos": {
"command": " player/get_play_state ",
"result": "success",
"message": "pid='player_id'&state='play_state'"
}
}