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
- This Action will replace the Musaic players queue with the audio from the given URL and start playback. The URL can be for a local music server or internet radio stream.
- API endpoint slug
- musaic.play_audio_from_url
- Filter code method
- Musaic.playAudioFromUrl.skip(string?: reason)
- Runtime method
- runAction("musaic.play_audio_from_url", {})
Action fields
Room player Dropdown list
- Label
- Which room?
- Helper text
- The room (i.e. Musaic player) where the audio will play.
- Slug
- room_player
- Required
- true
- Can have default value
- false
Audio URL Text input > Other
- Label
- Which audio stream?
- Helper text
- A static URL path that points to the audio stream that should be played.
- Slug
- audio_url
- Required
- true
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setAudioUrl(string: audioUrl)
Audio name Text input > Other
- Label
- The audio streams name
- Helper text
- The name to display when playing the audio URL.
- Slug
- audio_name
- Required
- false
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setAudioName(string: audioName)
Player volume Dropdown list
- Label
- What volume level?
- Helper text
- Optional volume setting to use, if not set the player uses its present volume.
- Slug
- player_volume
- Required
- false
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setPlayerVolume(string: playerVolume)