Update Channel.js
This commit is contained in:
parent
e5cc41aeee
commit
16bec418fe
|
@ -109,9 +109,11 @@ module.exports = class Channel {
|
||||||
}
|
}
|
||||||
|
|
||||||
getInfo() {
|
getInfo() {
|
||||||
let info = `-1 tvg-id="${this.tvg.id}" tvg-country="${this.tvg.country}" tvg-language="${this.tvg.language}" tvg-logo="${this.logo}"`
|
let info = `-1 tvg-id="${this.tvg.id}" tvg-country="${this.tvg.country || ''}" tvg-language="${
|
||||||
|
this.tvg.language || ''
|
||||||
|
}" tvg-logo="${this.logo || ''}"`
|
||||||
|
|
||||||
info += ` group-title="${this.group.title}",${this.name}`
|
info += ` group-title="${this.group.title || ''}",${this.name}`
|
||||||
|
|
||||||
if (this.resolution.height) {
|
if (this.resolution.height) {
|
||||||
info += ` (${this.resolution.height}p)`
|
info += ` (${this.resolution.height}p)`
|
||||||
|
|
Loading…
Reference in New Issue