Marantz SR5015 HEOS CLI ProtocolSpecification Version - Page 42

Set service option

Page 42 highlights

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 Example Command heos://browse/set_service_option? sid=2&option=1&mid=Tra.174684187 Parameter description mid - track id obtained through 'browse source containers' command 2 - Add Album to Library Supported Services: Napster heos://browse/set_service_option? sid=2&option=2&cid=Alb.174684186 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&mid=sas.6513639 mid - station id obtained through 'browse source containers' command 4 - Add Playlist to Library Supported Services: Napster 5 - Remove Track from Library Supported Services: Napster heos://browse/set_service_option? sid=2&option=4&cid=LIBPLAYLIST-pp. 175573149&name=Lupe Fiasco heos://browse/set_service_option? sid=2&option=5&mid=Tra.174684187 cid - playlist id obtained through 'browse source containers' command name - name of the playlist obtained through 'browse source container' command mid - track 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
  • 46
  • 47

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
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
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
4 - Add Playlist to Library
Supported Services: Napster
heos://browse/set_service_option?
sid=2&option=4&
=LIBPLAYLIST-pp.
cid
175573149&
=Lupe Fiasco
name
cid - playlist id obtained through 'browse
source containers' command
name - name of the playlist obtained
through 'browse source container'
command
5 - Remove Track from Library
Supported Services: Napster
heos://browse/set_service_option?
sid=2&option=5&
=Tra.174684187
mid
mid - track id obtained through 'browse
source containers' command