Marantz SR5015 HEOS CLI ProtocolSpecification Version - Page 13

Get Volume

Page 13 highlights

Response: The following response provides example when the speaker is playing a song. Note: For local music and DLNA servers sid will point to Local Music Source id. { "heos": { "command": "player/get_now_playing_media", "result": "success", "message": "pid='player_id'" }, "payload": { "type" : "'song'", "song": "'song name'", "album": "'album name'", "artist": "'artist name'", "image_url": "'image url'", "mid": "'media id'", "qid": "'queue id'", "sid": source_id "album_id": "Album Id'" } } The following response provides example when the speaker is playing a station. { "heos": { "command": "player/get_now_playing_media", "result": "success", "message": "pid='player_id'" }, "payload": { "type" : "'station'", "song": "'song name'", "station": "'station name'", "album": "'album name'", "artist": "'artist name'", "image_url": "'image url'", "mid": "'media id'", "qid": "'queue id'", "sid": source_id } "options": [ { "play": [ { "id": 19, "name": "Add to HEOS Favorites" } ] } ] } Example: heos://player/get_now_playing_media?pid=1 4.2.6 Get Volume Command: heos://player/get_volume?pid='player_id' Attribute Description Enumeration pid Player id returned by 'get_players' or 'get_groups' command N/A

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47

Response:
The following response provides example when the speaker is playing a song.
Note:
For local music and DLNA servers sid will point to Local Music Source id.
{
"heos": {
"command": "player/get_now_playing_media",
"result": "success",
"message": "pid='player_id'"
},
"payload": {
"type" : "'song'",
"song": "'song name'",
"album": "'album name'",
"artist": "'artist name'",
"image_url": "'image url'",
"mid": "'media id'",
"qid": "'queue id'",
"sid": source_id
"album_id": "Album Id'"
}
}
The following response provides example when the speaker is playing a station.
{
"heos": {
"command": "player/get_now_playing_media",
"result": "success",
"message": "pid='player_id'"
},
"payload": {
"type" : "'station'",
"song": "'song name'",
"station": "'station name'",
"album": "'album name'",
"artist": "'artist name'",
"image_url": "'image url'",
"mid": "'media id'",
"qid": "'queue id'",
"sid": source_id
}
"options": [
{
"play": [
{
"id": 19,
"name": "Add to HEOS Favorites"
}
]
}
]
}
Example: heos://player/get_now_playing_media?pid=1
4.2.6 Get Volume
Command: heos://player/get_volume?pid='player_id'
Attribute
Description
Enumeration
pid
Player id returned by 'get_players' or 'get_groups' command
N/A