Explore Plans
Mobile menu Close menu
SonosSonos

Play Stream

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

Developer info

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
Enter the URL of the audio stream you want to play
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
Select room
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
Play in this room only, or include grouped rooms?
Slug
include_grouped_rooms
Required
true
Can have default value
true
Filter code method
Sonos.playStream.setIncludeGroupedRooms(string: includeGroupedRooms)