Update update-readme.ts

This commit is contained in:
Aleksandr Statciuk 2021-10-30 00:41:01 +03:00
parent 5ec348b371
commit a02d105144

View file

@ -53,6 +53,7 @@ async function main() {
const xml = file.read(filename)
let epg: EPG = parser.parse(xml)
let emptyGuides = 0
if (!epg.channels.length) return
epg.channels.forEach((channel: Channel) => {
const showCount = epg.programs.filter(
(program: Program) => program.channel === channel.id