Moved eveything related to the api to a seperate folder seasoned_api.

This commit is contained in:
2017-08-06 16:45:02 +02:00
parent f53ab55d96
commit 47aa638fd8
44 changed files with 7 additions and 7 deletions

View File

@@ -1,13 +0,0 @@
class MediaInfo {
constructor(device, platform) {
this.device = undefined;
this.platform = undefined;
this.ip = undefined;
this.product = undefined;
this.title = undefined;
this.state = undefined;
}
}
module.exports = MediaInfo;

View File

@@ -1,18 +0,0 @@
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;

View File

@@ -1,13 +0,0 @@
class Player {
constructor(device, address) {
this.device = device;
this.ip = address;
this.platform = undefined;
this.product = undefined;
this.title = undefined;
this.state = undefined;
}
}
module.exports = Player;

View File

@@ -1,8 +0,0 @@
class User {
constructor(id, title) {
this.id = id;
this.title = title;
}
}
module.exports = User;