mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-readme.ts
This commit is contained in:
parent
5ec348b371
commit
a02d105144
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ async function main() {
|
||||||
const xml = file.read(filename)
|
const xml = file.read(filename)
|
||||||
let epg: EPG = parser.parse(xml)
|
let epg: EPG = parser.parse(xml)
|
||||||
let emptyGuides = 0
|
let emptyGuides = 0
|
||||||
|
if (!epg.channels.length) return
|
||||||
epg.channels.forEach((channel: Channel) => {
|
epg.channels.forEach((channel: Channel) => {
|
||||||
const showCount = epg.programs.filter(
|
const showCount = epg.programs.filter(
|
||||||
(program: Program) => program.channel === channel.id
|
(program: Program) => program.channel === channel.id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue