dmhacker / alexa-youtube-skill

Allows Alexa to play audio from YouTube videos
MIT License
243 stars 109 forks source link

Reprompt to keep session alive for long downloads #59

Closed chokkyvista closed 5 years ago

chokkyvista commented 5 years ago

A potential temporary working fix for #56 : keep reprompting users every 45 seconds or so (which you can override with ALEXA_REQUEST_TIMEOUT) for confirmation to keep the session from being timed out while the heroku server is busy downloading long videos.

image

dmhacker commented 5 years ago

I'll take a look this weekend! Thanks for the PR!

dmhacker commented 5 years ago

@chokkyvista This looks pretty good! However, the backwards compatibility feature isn't really working: it just doesn't download for me. I'll fix this up and then accept the merge.