Marantz AV7704 HEOS_CLI_ProtocolSpecification-Version-1.10_Dec2017 - Page 39

Set service option

Page 39 highlights

id Options available on now playing screen (options) Following options are currently supported for 'Get Service options for now playing screen': 11 - Thumbs Up 12 - Thumbs Down Note: This command returns service options that are only available on 'now playing' screen. Please refer to 'Browse Source' and 'Browse Source Containers' for service options available on various browse levels. Note: the following response provides examples of the various service options. The actual response will depend on the service options available for a given source type. Response: { "heos": { "command": "browse/get_service_options", "result": "success", "message": "" }, "payload": [ { "play": [ { "id": 11, "name": "Thumbs Up" }, { "id": 12, "name": "Thumbs Down" } ] } ] } Example: heos://browse/get_service_options?sid=5 4.4.19 Set service option Set service option is a generic command used to select any of the supported service options provided through 'Get Service Options for now playing screen', 'Browse Sources' and 'Browse Source Containers' command response. Following service options are currently supported: Option id 1 - Add Track to Library Supported Services: Napster, Juke Example Command heos://browse/set_service_option?sid=2&option=1&mid=Tra.174684187 2 - Add Album to Library Supported Services: Napster, Juke heos://browse/set_service_option?sid=2&option=2&cid=Alb.174684186 3 - Add Station to Library Supported Services: Napster heos://browse/set_service_option?sid=2&option=3&mid=sas.6513639 Parameter description mid - track id obtained through 'browse source containers' command cid - album id obtained through 'browse source containers' command mid - station id obtained through 'browse source containers' command

  • 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

id
(options)
Options available on now playing screen
Following options are currently supported for 'Get Service options for now
playing screen':
11 - Thumbs Up
12 - Thumbs Down
Note: This command returns service options that are only available on 'now playing' screen. Please refer to 'Browse Source' and 'Browse
Source Containers' for service options available on various browse levels.
Note: the following response provides examples of the various service options. The actual response will depend on the service options
available for a given source type.
Response:
{
"heos": {
"command": "browse/get_service_options",
"result": "success",
"message": ""
},
"payload": [
{
"play": [
{
"id": 11,
"name": "Thumbs Up"
},
{
"id": 12,
"name": "Thumbs Down"
}
]
}
]
}
Example: heos://browse/get_service_options?sid=5
4.4.19 Set service option
Set service option is a generic command used to select any of the supported service options provided through 'Get Service Options for
now playing screen', 'Browse Sources' and 'Browse Source Containers' command response.
Following service options are currently supported:
Option id
Example Command
Parameter
description
1 - Add Track to Library
Supported Services:
Napster, Juke
heos://browse/set_service_option?sid=2&option=1&
=Tra.174684187
mid
mid - track
id obtained
through
'browse
source
containers'
command
2 - Add Album to Library
Supported Services:
Napster, Juke
heos://browse/set_service_option?sid=2&option=2&
=Alb.174684186
cid
cid - album
id obtained
through
'browse
source
containers'
command
3 - Add Station to Library
Supported Services:
Napster
heos://browse/set_service_option?sid=2&option=3&
=sas.6513639
mid
mid - station
id obtained
through
'browse
source
containers'
command