question

Marco Rapaccini avatar image
Marco Rapaccini asked

How can I execute Alexa Skills intents while AudioPlayer is playing a stream?

I am developing an Amazon Alexa Skill.

The Skill has several commands (e.g. "give me a list of categories", "play the category [x]").

When the user executes the "play the category [x]" command, Alexa invokes the AudioPlayer interface to play streams (longer than 3-4 minutes) coming from an external streaming API service.

The problem is that while playing a stream, the user can invoke only the AudioPlayer-related commands and Alexa cannot accept anymore (probably because the session is closed?) the other Skills commands (e.g. "give me a list of categories").

I've already had a look at this thread, but I was wondering if in 2023 there could be a new solution/workaround.

intentsaudioplayeralexa skills
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

Andy Whitworth avatar image
Andy Whitworth answered

Hi, I answered that original thread! The answer in 2023 is still the same, once you've passed control to the AudioPlayer then the skill session ends and the user can't directly interact with the skill. The user can say "Alexa, ask <invocation name> to <intent utterance>" and this will start a new skill session and invoke the intent associated with the utterance. But obviously the user would need to be educated to do this!


1 comment
10 |5000

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

Marco Rapaccini avatar image Marco Rapaccini commented ·
Thanks Andy for the answer. So sad that the feature is still not implemented.
1 Like 1 ·