mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update update-readme.ts
This commit is contained in:
@@ -55,6 +55,8 @@ async function main() {
|
|||||||
const xml: string = file.read(filename)
|
const xml: string = file.read(filename)
|
||||||
const epg: EPG = parser.parse(xml)
|
const epg: EPG = parser.parse(xml)
|
||||||
|
|
||||||
|
if (!epg.channels.length) return
|
||||||
|
|
||||||
const log = file.read(`logs/${site}_${code}.log`)
|
const log = file.read(`logs/${site}_${code}.log`)
|
||||||
const errorCount = (log.match(/ERROR/gi) || []).length
|
const errorCount = (log.match(/ERROR/gi) || []).length
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user