Moved contents of seasoned_api up to root folder
This commit is contained in:
31
src/media_classes/plex.js
Normal file
31
src/media_classes/plex.js
Normal file
@@ -0,0 +1,31 @@
|
||||
const Media = require("./media");
|
||||
|
||||
class Plex extends Media {
|
||||
constructor(
|
||||
title,
|
||||
year,
|
||||
type,
|
||||
summary,
|
||||
poster_path,
|
||||
background_path,
|
||||
added,
|
||||
seasons,
|
||||
episodes
|
||||
) {
|
||||
super(title, year, type);
|
||||
|
||||
this.summary = summary;
|
||||
this.poster_path = poster_path;
|
||||
this.background_path = background_path;
|
||||
this.added = added;
|
||||
|
||||
this.seasons = seasons;
|
||||
this.episodes = episodes;
|
||||
}
|
||||
|
||||
print() {
|
||||
super.print();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Plex;
|
||||
Reference in New Issue
Block a user