Now have player, movie, mediaInfo and user. These are small classes that holds vars for the specific type. The movie class is the same as the one prev in src/movie/movie.js

This commit is contained in:
2017-05-10 19:40:29 -06:00
parent 3f043a2a11
commit b7f229ac77
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
class Movie {
constructor(title, year) {
this.id = undefined;
this.title = title;
this.year = year;
this.release_date = undefined;
this.library = undefined;
this.type = undefined;
this.poster = undefined;
this.background = undefined;
this.matchedInPlex = false;
this.childTitle = undefined;
this.season = undefined;
this.episode = undefined;
}
}
module.exports = Movie;