-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I want to show some titles and images while the audio is getting played. If I am able to pass the metadata directives under directives key after audioItem key then it can be done. But I think this gem won't support passing this metadata tag. It only supports normal cards.
"response": {
"outputSpeech": {},
"card": {},
"reprompt": {},
"shouldEndSession": true,
"directives": [
{
"type": "AudioPlayer.Play",
"playBehavior": "ENQUEUE",
"audioItem": {
"stream": {
"url": "https://url-of-the-mp3-to-play/audiofile.mp3",
"token": "1234AAAABBBBCCCCCDDDDEEEEEFFFF",
"expectedPreviousToken": "9876ZZZZZZZYYYYYYYYYXXXXXXXXXXX",
"offsetInMilliseconds": 0
},
"metadata": {
"title": "My opinion: how could you diss-a-brie?",
"subtitle": "Vince Fontana",
"art": {
"sources": [
{
"url": "https://url-of-the-skill-image.com/brie-album-art.png"
}
]
},
"backgroundImage": {
"sources": [
{
"url": "https://url-of-the-skill-image.com/brie-background.png"
}
]
}
}
}
}
]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels