mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
Update tv.blue.ch.config.js
This commit is contained in:
parent
25868d9b84
commit
9de7d75698
1 changed files with 3 additions and 1 deletions
|
@ -81,5 +81,7 @@ function parseItems(content) {
|
|||
const nodes = data.Nodes.Items.filter(i => i.Kind === 'Channel')
|
||||
if (!nodes.length) return []
|
||||
|
||||
return nodes[0].Content.Nodes.Items.filter(i => i.Kind === 'Broadcast')
|
||||
return nodes[0].Content.Nodes && Array.isArray(nodes[0].Content.Nodes.Items)
|
||||
? nodes[0].Content.Nodes.Items.filter(i => i.Kind === 'Broadcast')
|
||||
: []
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue