diff --git a/lib/collections/collections.js b/lib/collections/collections.js index 31642cfb..633bbb5b 100755 --- a/lib/collections/collections.js +++ b/lib/collections/collections.js @@ -23,6 +23,11 @@ var movies = new SimpleSchema ( label: "IMDB ID", unique: true }, + year: { + type: String, + label: "Release Year", + optional: true + }, released: { type: Date, label: "Release date" diff --git a/server/methods/search/requestMovie.js b/server/methods/search/requestMovie.js index 9e1dd165..67ab287e 100644 --- a/server/methods/search/requestMovie.js +++ b/server/methods/search/requestMovie.js @@ -23,6 +23,7 @@ Meteor.methods({ title: request.title, id: request.id, imdb: imdbid, + year: request.year, released: request.release_date, user: request.user, downloaded: dlStatus,