Specifications
Table Of Contents

Response:
: The attribute value pair ?"url=url_path" should be the last attribute value pair in the play_stream command.Note
This is required to handle url_path with special characters and command delimiters.
This command will cause a Now Playing Change Event to occur if url is played.
{
"heos": {
"command": " browse/play_stream ",
"result": "success",
"message": "pid='palyer_id'&url='path to stream"
}
}
Example: heos://browse/play_stream?pid=1&url=http://10.110.25.159:49152/web/138.mp3
4.4.11 Add Container to Queue with Options
Command: heos://browse/add_to_queue?pid=player_id&sid=source_id&cid=container_id&aid=add_criteria
Attribute Description Enumeration
sid Source id returned by 'get_music_sources' command N/A
cid Container id returned by 'browse' or 'search' command N/A
aid Add criteria id as defined by enumerations -> 1 – play now
2 – play next
3 – add to end
4 – replace and play
pid Player id returned by 'get_players' or 'get_groups' command N/A
Note: The cid for this command must be a 'playable' container type.
Response:
: this command will cause a Now Playing Change Event to occur if a new song is played. Note
{
"heos": {
"command": " browse/add_to_queue",
"result": "success",
"message": "pid='player_id'&sid='source_id'&cid='container_id'&aid='add_criteria'"
}
}
Example: heos://browse/add_to_queue?pid=1&sid=5&cid=Artist/All&aid=2
Supported Sources: Playable containers from Local Media Servers, Playlists, History, Rhapsody, Deezer, iHeartRadio,
Napster, Tidal, SoundCloud, Juke. Also searched tracks as described in get_search_criteria command.
4.4.12 Add Track to Queue with Options
Command: heos://browse/add_to_queue?pid=player_id&sid=source_id&cid=container_id&mid=media_id&aid=add-criteria
Attribute Description Enumeration
sid Source id returned by 'get_music_sources' command N/A
cid Container id that is used to 'browse' or 'search' current container N/A
mid Media id returned by 'browse' or 'search' command N/A
aid Add criteria id as defined by enumerations -> 1 – play now
2 – play next
3 – add to end
4 – replace and play
pid Player id returned by 'get_players' or 'get_groups' command N/A
Note: The mid for this command must be a 'track' media type.