Marantz SR5015 HEOS CLI ProtocolSpecification Version - Page 17

Play Queue Item

Page 17 highlights

Range is start and end record index to return. Range parameter is optional. Omitting range parameter returns all records but a maximum of 100 records are returned per response. Attribute pid range Description Player id returned by 'get_players' or 'get_groups' command Range is start and end record index to return. Range parameter is optional. Omitting range parameter returns all records up to a maximum of 100 records per response. Enumeration N/A range starts from 0 Response: { "heos": { "command": "player/get_queue", "result": "success", "message": "'pid=player_id&range=start#, end#" }, "payload": [ { "song": "'song name 1'", "album": "'album name 1'", "artist": "'artist name 1'", "image_url": "'image_url 1'", "qid": "'queue id 1'", "mid": "'media id 1'" "album_id": "AlbumId 1'" }, { "song": "'song name 2'", "album": "'album name 2'", "artist": "'artist name 2'", " image_url": "''image_url 2'", "qid": "'queue id 2'", "mid": "'media id 2'" "album_id": "AlbumId 2'" }, . . . { "song": "'song name N'", "album": "'album name N'", "artist": "'artist name N'", " image_url": "''image_url N'", "qid": "'queue id N'", "mid": "'media id N'" "album_id": "AlbumId N'" } ] } Example: heos://player/get_queue?pid=1&range=0,10 4.2.16 Play Queue Item Command: heos://player/play_queue?pid=player_id&qid=queue_song_id Attribute Description Enumeration

  • 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

Range is start and end record index to return. Range parameter is optional. Omitting range parameter returns all records but a maximum
of 100 records are returned per response.
Attribute
Description
Enumeration
pid
Player id returned by 'get_players' or
'get_groups' command
N/A
range
Range is start and end record index to
return. Range parameter is optional.
Omitting range parameter returns all
records up to a maximum of 100 records
per response.
range starts from 0
Response:
{
"heos": {
"command": "player/get_queue",
"result": "success",
"message": "'pid=player_id&range=start#, end#"
},
"payload": [
{
"song": "'song name 1'",
"album": "'album name 1'",
"artist": "'artist name 1'",
"image_url": "'image_url 1'",
"qid": "'queue id 1'",
"mid": "'media id 1'"
"album_id": "AlbumId 1'"
},
{
"song": "'song name 2'",
"album": "'album name 2'",
"artist": "'artist name 2'",
" image_url": "''image_url 2'",
"qid": "'queue id 2'",
"mid": "'media id 2'"
"album_id": "AlbumId 2'"
},
.
.
.
{
"song": "'song name N'",
"album": "'album name N'",
"artist": "'artist name N'",
" image_url": "''image_url N'",
"qid": "'queue id N'",
"mid": "'media id N'"
"album_id": "AlbumId N'"
}
]
}
Example: heos://player/get_queue?pid=1&range=0,10
4.2.16 Play Queue Item
Command: heos://player/play_queue?pid=player_id&qid=queue_song_id
Attribute
Description
Enumeration