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:
18
src/media_classes/movie.js
Normal file
18
src/media_classes/movie.js
Normal 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;
|
||||
Reference in New Issue
Block a user