alexa-pi / AlexaPi

Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
MIT License
1.33k stars 396 forks source link

Audiobook pausing / resuming #118

Closed lsumner4 closed 7 years ago

lsumner4 commented 7 years ago

I am using V1.3 of AlexaPi on my Raspberry Pi and I have found an issue with the playing of audiobooks through audible. Although Alexa says she is resuming the book, she instead restarts at the beginning of the book each time.

renekliment commented 7 years ago

Could you write up steps to reproduce? (exactly what you say to Alexa) Ideally with some public / free book (I'm not sure how it works, I've tried it like once).

So I assume you just follow these instructions: http://audible.custhelp.com/app/answers/detail/a_id/4691/~/voice-commands-for-listening-on-alexa-devices

Turns out it might not be an easy thing. When I say "Alexa, pause", I get {"messageBody": {"directives": []}, "messageHeader": {}} and when I say "Alexa, resume", she tells me she doesn't know what to resume. We might need the new API for this.

lsumner4 commented 7 years ago

I was thinking that the new API may be needed but I just wanted to present the issue so it was known.

renekliment commented 7 years ago

Yep, good that you did. We will hopefully fix this. You can dig deeper if you want to, it's possible that I'm wrong about the API.

renekliment commented 7 years ago

Correction: This is probably a bug on our side, because we use the current API incorrectly. Task #117.

renekliment commented 7 years ago

Closing this as a duplicate of that other task.