Marantz SR5015 HEOS CLI ProtocolSpecification Version - Page 28

Get Source Info

Page 28 highlights

} ] } Example: heos://browse/get_music_sources The following are valid source types: music_service heos_service heos_server dlna_server 4.4.2 Get Source Info Command: heos://browse/get_source_info?sid=source_id Attribute sid available service_username Description Enumeration Source id returned by 'get_music_sources' N/A command (Or) Source id returned by 'browse' command when browsing source types 'heos_server' and 'heos_service' Only valid for online music services. If true N/A 'service_username' will provide user name of the service account. This should not be treated as the music service being supported through CLI or not. The services supported through CLI is listed in 'Supported music services' section. Provides user name of the service account. N/A Only avaialable for online music services when 'avaialble' field is set to true. Response: { "heos": { "command": "browse/get_source_info", "result": "success", "message": "" }, "payload": [ { "name": "source name", "image_url": "source logo url", "type": "source type", "sid": source_id_1, "available": "true/false", "service_username": "user name of the service account" }, ] } Example: heos://browse/get_source_info The following are valid source types: music_service heos_service

  • 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

}
]
}
Example: heos://browse/get_music_sources
The following are valid source types:
music_service
heos_service
heos_server
dlna_server
4.4.2 Get Source Info
Command: heos://browse/get_source_info?sid=source_id
Attribute
Description
Enumeration
sid
Source id returned by 'get_music_sources'
command
(Or) Source id returned by 'browse'
command when browsing source types
'heos_server' and 'heos_service'
N/A
available
Only valid for online music services. If true
'service_username' will provide user name
of the service account.
This should not be treated as the music
service being supported through CLI or
not.
The services supported through CLI is
listed in 'Supported music services'
section.
N/A
service_username
Provides user name of the service account.
Only avaialable for online music services
when 'avaialble' field is set to true.
N/A
Response:
{
"heos": {
"command": "browse/get_source_info",
"result": "success",
"message": ""
},
"payload": [
{
"name": "source name",
"image_url": "source logo url",
"type": "source type",
"sid": source_id_1,
"available": "true/false",
"service_username": "user name of the service account"
},
]
}
Example: heos://browse/get_source_info
The following are valid source types:
music_service
heos_service