I am working on alexa for the first time, and I am developing a music application. I need to add several tracks of one artist and play it continuously. I can not do it. However, one song works fine, but cannot add and play multiple songs.
Here is my code
$response = '{ "version" : "1.0", "response" : { "outputSpeech": { "type": "PlainText", "text": "Playing song for Acon" }, '.$card.', "directives": [ { "type": "AudioPlayer.Play", "playBehavior": "REPLACE_ALL", "audioItem": { "stream": { "token": "track1", "url": "https://p.scdn.co/mp3-preview/9153bcc4d7bef50eb80a809fa34e694f2854e539?cid=null", "offsetInMilliseconds": 0 } } } ], "shouldEndSession" : true } }';
source share