Marantz SR5015 HEOS CLI ProtocolSpecification Version - Page 19

Move Queue, 2.21 Play Next

Page 19 highlights

Command: heos://player/clear_queue?pid=player_id Attribute Description Enumeration pid Player id returned by 'get_players' or 'get_groups' command N/A Response: { "heos": { "command": "player/clear_queue ", "result": "success", "message": "pid='player_id'" } } Example: heos://player/clear_queue 4.2.20 Move Queue Command: heos://player/move_queue_item?pid=player_id&sqid=source_queue_id_1,source_queue_id_2,...,source_queue_id_n&dqid=d estination_queue_id Attribute pid sqid dqid Description Enumeration Player id returned by 'get_players' or N/A 'get_groups' command List of comma separated queue_id's where each queue id for song is returned by 'get_queue' command list item range:1 to size of queue User select this value as the destination of 1 to size of queue. contents which is indicated in sqid. Response: { "heos": { "command": "player/move_queue_item ", "result": "success", "message": "pid='player_id'&sqid='source_queue_id_1','source_queue_id_2',...,'source_queue_id_n',dqid='destination_queue _id' } } Example: heos://player/move_queue_item?pid=2,4&sqid=2&dqid=6 4.2.21 Play Next Command: heos://player/play_next?pid=player_id Attribute Description Enumeration pid Player id returned by 'get_players' or 'get_groups' command N/A Response: { "heos": { } } "command": " player/play_next", "result": "success", "message": "pid=player_id" Example: heos://player/play_next?pid=1

  • 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

Command: heos://player/clear_queue?pid=player_id
Attribute
Description
Enumeration
pid
Player id returned by 'get_players' or 'get_groups' command
N/A
Response:
{
"heos": {
"command": "player/clear_queue ",
"result": "success",
"message": "pid='player_id'"
}
}
Example: heos://player/clear_queue
4.2.20 Move Queue
Command:
id&sqid=source_queue_id_1,
&dqid=d
heos://player/move_queue_item?pid=player_
source_queue_id_2,...,source_queue_id_n
estination_queue_id
Attribute
Description
Enumeration
pid
Player id returned by 'get_players' or
'get_groups' command
N/A
sqid
List of comma separated queue_id's
where each queue id for song is returned
by 'get_queue' command
list item range:1 to size of queue
dqid
User select this value as the destination of
contents which is indicated in sqid.
1 to size of queue.
Response:
{
"heos": {
"command": "player/move_queue_item ",
"result": "success",
"message": "pid='player_id'&sqid='
','
',...,'
',dqid='
source_queue_id_1
source_queue_id_2
source_queue_id_n
destination_queue
'
_id
}
}
Example:
heos://player/move_queue_item?pid=2,4&sqid=2&dqid=6
4.2.21 Play Next
Command: heos://player/play_next?pid=player_id
Attribute
Description
Enumeration
pid
Player id returned by 'get_players' or 'get_groups' command
N/A
Response:
{
"heos": {
"command": " player/play_next",
"result": "success",
"message": "pid=player_id"
}
}
Example: heos://player/play_next?pid=1