Added a movie class so that different movie types (plex vs tmdb) can be converted into a universal movie class

This commit is contained in:
2017-04-20 22:27:24 +02:00
parent c662525988
commit df90cc1037

12
src/movie/movie.js Normal file
View File

@@ -0,0 +1,12 @@
class Movie {
constructor(title, year) {
this.id = undefined;
this.title = title;
this.year = year;
this.release_date = undefined;
this.library = undefined;
this.type = undefined;
}
}
module.exports = Movie;