hi
i dont know why, when i tell stop podcast, it trigger an error "there have issue with answer skill "
SemaineIntent() {
this.$alexaSkill.$audioPlayer
.setOffsetInMilliseconds(0)
.setTitle('fgfg')
.setSubtitle(semaineTitle)
.addArtwork('https://www.somewhere.com/image.png')
.addBackgroundImage('https://www.somewhere.com/background.jpg')
// The above method calls need to be before play()
.play(semaineAudio, 'token')
.tell(semaineTitle);
},
PauseIntent() {
this.$alexaSkill.$audioPlayer.stop();
// Save offset to database
this.$user.$data.offset = this.$alexaSkill.$audioPlayer.getOffsetInMilliseconds();
this.tell('d\'accord !');
},
ResumeIntent() {
this.$alexaSkill.$audioPlayer
.setOffsetInMilliseconds(this.$user.$data.offset)
.play(WeekendAudio, 'token')
.tell('je reprends !');
},
CancelIntent() {
this.$alexaSkill.$audioPlayer.stop();
},