Group Location
Explore Plans
Mobile menu Close menu
SonosSonos

Play Stream

This action will stream audio, such as a radio station, from a URL.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
API endpoint slug
sonos.play_stream
Filter code method
Sonos.playStream.skip(string?: reason)
Runtime method
runAction("sonos.play_stream", {})

Action fields

URL Text input > Link

Label
What do you want to play?
Helper text
Slug
url
Required
true
Can have default value
true
Filter code method
Sonos.playStream.setUrl(string: url)

Room Dropdown list

Label
Where do you want to play?
Helper text
Slug
room
Required
true
Can have default value
false

Name Text input > Title

Label
What name do you want to show for this stream?
Slug
name
Required
false
Can have default value
true
Filter code method
Sonos.playStream.setName(string: name)

Image URL Text input > Photo

Label
What image do you want to show for this stream?
Slug
image_url
Required
false
Can have default value
true
Filter code method
Sonos.playStream.setImageUrl(string: imageUrl)

Include grouped rooms Dropdown list

Label
Include grouped rooms?
Helper text
Slug
include_grouped_rooms
Required
true
Can have default value
true
Filter code method
Sonos.playStream.setIncludeGroupedRooms(string: includeGroupedRooms)