Linted all media_classes

This commit is contained in:
2018-02-07 13:49:37 +01:00
parent 272300249e
commit 97217a2826
3 changed files with 26 additions and 27 deletions

View File

@@ -1,15 +1,15 @@
class MediaInfo { class MediaInfo {
constructor() { constructor() {
this.duration = undefined; this.duration = undefined;
this.height = undefined; this.height = undefined;
this.width = undefined; this.width = undefined;
this.bitrate = undefined; this.bitrate = undefined;
this.resolution = undefined; this.resolution = undefined;
this.framerate = undefined; this.framerate = undefined;
this.protocol = undefined; this.protocol = undefined;
this.container = undefined; this.container = undefined;
this.audioCodec = undefined; this.audioCodec = undefined;
} }
} }
module.exports = MediaInfo; module.exports = MediaInfo;

View File

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

View File

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