Created a new shows class that only holds relevant information for shows.

This commit is contained in:
2017-09-02 18:10:16 +02:00
parent a4fe5cc635
commit 1a858d09bb

View File

@@ -0,0 +1,22 @@
class Movie {
constructor(title, year, type) {
this.id = undefined;
this.title = title;
this.year = year;
this.type = type;
this.release_date = undefined;
this.summary = undefined;
this.rating = undefined;
this.poster = undefined;
this.background = undefined;
this.genre = undefined;
this.added = undefined;
this.seasons = undefined;
this.episodes = undefined;
this.matchedInPlex = false;
}
}
module.exports = Movie;