-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cooooool!
token: streamUrl, | ||
offsetInMilliseconds: 0 | ||
} | ||
res.audioPlayerPlayStream('REPLACE_ALL', stream); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic?! Need to read about audoPlayerPlayStream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is a "native" function of the API of alexa-app, see https://github.com/alexa-js/alexa-app
_.mixin(require('underscore.string').exports()); | ||
|
||
function Podcast() { | ||
this.rssUrl = 'https://feeds.soundcloud.com/users/soundcloud:users:211089382/sounds.rss'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to suggest make this an env
but I guess there is no point if we lose env
everytime we deploy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, and it's not likely to change without having to do code changes.
Closes #51.