Protocol Specs

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. Also searched tracks as described in get_search_criteria command.
4.4.11 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.
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'&mid='media_id'&aid='add_criteria'"
}
}
Example: heos://browse/add_to_queue?pid=1&sid=8&cid=Artists/All&mid=9&aid=1
Supported Sources: Local Media Servers, Playlists, History, Rhapsody Tracks, Deezer Tracks, iHeartRadio Tracks,
Napster, Tidal, SoundCloud, Amazon Music
4.4.12 Get HEOS Playlists
Refer to Browse Sources and Browse Source Containers
4.4.13 Rename HEOS Playlist
Command: heos://browse/rename_playlist?sid=source_id&cid=contaiiner_id&name=playlist_name
Attribute Description Enumeration
sid Source id returned by 'get_music_sources' command; select HEOS source to get HEOS playlists. N/A
cid Container id returned in 'Get HEOS Playlists' command N/A