This action will stream audio, such as a radio station, from a URL.
- API endpoint slug
- sonos.play_stream
- Filter code method
- Sonos.playStream.skip(string?: reason)
- Runtime method
- runAction("sonos.play_stream", {})
Action fields
- 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)
- Label
- Where do you want to play?
- Helper text
- Select room
- Slug
- room
- Required
- true
- Can have default value
- false
- 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)
- 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)
- 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)