mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Added check channel data
This commit is contained in:
parent
de07e2d69d
commit
08c97b10a1
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@ class Playlist {
|
||||||
|
|
||||||
class Channel {
|
class Channel {
|
||||||
constructor(data) {
|
constructor(data) {
|
||||||
this.id = data.id
|
this.id = data.id || ''
|
||||||
this.name = data.name
|
this.name = data.name || ''
|
||||||
this.logo = data.logo
|
this.logo = data.logo || ''
|
||||||
this.group = this._getGroup(data.group)
|
this.group = this._getGroup(data.group)
|
||||||
this.url = data.url
|
this.url = data.url
|
||||||
this.title = data.title
|
this.title = data.title
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue