diff --git a/src/media_classes/mediaInfo.js b/src/media_classes/mediaInfo.js new file mode 100644 index 0000000..c3cb52f --- /dev/null +++ b/src/media_classes/mediaInfo.js @@ -0,0 +1,13 @@ +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; \ No newline at end of file diff --git a/src/media_classes/movie.js b/src/media_classes/movie.js new file mode 100644 index 0000000..c5a197e --- /dev/null +++ b/src/media_classes/movie.js @@ -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; \ No newline at end of file diff --git a/src/media_classes/player.js b/src/media_classes/player.js new file mode 100644 index 0000000..cb430b2 --- /dev/null +++ b/src/media_classes/player.js @@ -0,0 +1,13 @@ +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; \ No newline at end of file diff --git a/src/media_classes/user.js b/src/media_classes/user.js new file mode 100644 index 0000000..73c4bec --- /dev/null +++ b/src/media_classes/user.js @@ -0,0 +1,8 @@ +class User { + constructor(id, title) { + this.id = id; + this.title = title; + } +} + +module.exports = User; \ No newline at end of file