I am using ralyxa to work with Alexa. I have an audio, and have something else to do when this audio finishes.
As usual, the alexa triggers PlaybackFinished Intent. But this intent does not include any standard properties such as outputSpeech, card, or reprompt (This is what documentation says). I cannot trigger an output speech.
Is there any way to trigger a custom Intent, something like the following, which calls CustomIntent inside PlaybackFinished Intent?
intent 'AudioPlayer.PlaybackFinished' do
speech = PODCAST_REPEAT_OPTION
CustomIntent
end
For a
AudioPlayer.PlaybackFinishedrequest you cannot send a response withoutputSpeechorrepromptAudioPlayerdirectivesYour skill can only respond with a
StoporClearQueuedirective to stop or clear the current audio playback queue.However, before you get a
AudioPlayer.PlaybackFinished, you will receive aAudioPlayer.PlaybackNearlyFinishedto which you can send aPlaydirective (or anyAudioPlayerdirective.) to continue streaming audio.Standard response properties such as
outputSpeech,card, andrepromptwithAudioPlayerdirectives are possible when responding to aLaunchRequestorIntentRequest.