Linted all media_classes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user