question

newuser-b4305c4d-7d9a-4304-a8d3-b8ba18c733cc avatar image

Playing/Choosing between multiple radio streams in a skill

I've built a sample skill that plays a single radio stream based on the audio skill example. I've created a skill for each station, but I need to combine the three into a single skill that can choose between any of the three. I can't figure out how I need to write the code to make this happen, or in what file I should declare the stations in.

Can you guide me in the right direction, not provide the solution, but help me get to it?

alexa skills kitaudioplayer
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi there,

My apologies for delayed response.

You can add your audio resource url to the file here.

I suggest adding Intent here to select audio resource and passing the selected number to AudioAssets as argument.

Please let me know if you have further questions.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.