22 Commits

Author SHA1 Message Date
0280791dc9 Merge pull request #1 from karl0ss/movieName-fix
Fix for missing movieName causing invalid response
2016-12-05 10:41:37 +00:00
Karl Hudgell
b4d24fe309 Fix intent_schema.json to work with Alexa USA/UK 2016-12-05 10:20:27 +00:00
Jordan Hackworth
7137198c2b Fix for missing movieName causing invalid response 2016-10-31 11:15:53 -07:00
Joseph J. Schmitt
8eeb0ae515 Standardize searching for movies with optional release date (#17)
* Don’t filter locally for year
* Add new utterance for searching by year
* Standardize release date query building
* Update README with new utterances
* Version bump to 1.1.1
2016-10-30 13:03:20 -04:00
Joseph Schmitt
eaf8f70c4f Move date filtering into main add movie intent 2016-10-30 00:13:39 -04:00
Joseph J. Schmitt
e63769c379 Add release date support (#14)
Closes #11 

Adds a couple of new utterances so you can limit your movie results by the release date. You can now add a movie by saying:

> Add The Godfather released in 1972
> Add The Godfather from 1972
> Add The Godfather that came out in 1972
> Add The Godfather released in March 1972

If you've used previous versions of the Intent Schema and Sample Utterances, make sure to copy and paste the new ones in.
2016-10-29 22:40:43 -04:00
Joseph J. Schmitt
e31ac662a6 Update the codebase to use ES6 and support Node v4.3 on Lambda (#13)
Fixes #6

This required a few changes to the code base. First of all, we need to update our lambda function to use Node v4.3. This can be done in the Lambda console on AWS, and is also done in the default.env file. Next, since Node 4.3 doesn't offer full ES6 support yet, we need to run our source code through babel to transform it to be ES5-friendly. The ES6 source now lives in the src/ directory, and the transformed js is output into a dist/ directory. The dist/ package is what ends up getting uploaded to lambda.

One last issue is that node-lambda doesn't work with ES6 either, so we need to make sure it runs against the files in the dist/ directory instead. You can use the test-lambda npm script to do this automatically for you by executing npm run test-lambda in the terminal. This will trigger running babel to transform the js and then running node-lambda against the newly transformed files in dist/.
2016-10-29 22:04:44 -04:00
Jordan Hackworth
e09ee66d1c Fix Invalid Response, cleanup (#12) 2016-10-29 18:57:45 -04:00
sharepointalex
1422d49c31 Removed console.log 2016-10-28 23:30:06 -04:00
sharepointalex
dab6ad39c4 Utils fixes
Forgot to check these in - oops!
2016-10-28 23:30:06 -04:00
sharepointalex
9a20160c01 Hackworth fixes
Fixes suggested by Hackworth and some mistakes
2016-10-28 23:30:06 -04:00
sharepointalex
5e4363cab1 Delete couchpotato.zip
Deleted my build zip
2016-10-28 23:30:06 -04:00
sharepointalex
b8990eebbb More formatting fixes 2016-10-28 23:30:06 -04:00
sharepointalex
03ee6075d0 Formatting fixes 2016-10-28 23:30:06 -04:00
sharepointalex
1531befd8c Fix curly braces 2016-10-28 23:30:06 -04:00
sharepointalex
6268e392e2 Cancel intent response
Added response for the cancel intent and removed the duplicate cancel
intent functions.
2016-10-28 23:30:06 -04:00
sharepointalex
34c2cbd46c Added API key back in
Looks like I deleted the apikey parameter in the last commit - also
turned on debug mode.
2016-10-28 23:30:06 -04:00
sharepointalex
2580f55829 Fix for invalid response in AddMovie Intent
Rebuild new array of returned movies with minimum required movie data to
fix invalid response on Echo devices (due to response size limitation).
2016-10-28 23:30:06 -04:00
Joseph Schmitt
8bf943fb25 Move node-lambda to devDependencies 2016-03-27 16:25:09 -04:00
Joseph Schmitt
c518c2b39e Remove old js file 2016-03-27 15:00:48 -04:00
Joseph Schmitt
c8709afc9b Add info about the Lambda ARN 2016-03-27 14:48:18 -04:00
Joseph Schmitt
e2b616829f Couch Potato Alexa Skill 1.0 2016-03-27 14:36:20 -04:00