Marantz NR1609 HEOS CLI ProtocolSpecification Version 1.11 02072018 - Page 39

Set service option

Page 39 highlights

Attribute Description sid Source id returned by 'get_music_sources' command id Options available on now playing screen (options) Enumeration N/A 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 Parameter description mid - track id obtained through 'browse source containers' command cid - album 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

Attribute
Description
Enumeration
sid
Source id returned by 'get_music_sources'
command
N/A
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