mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update update.js
This commit is contained in:
@@ -31,7 +31,7 @@ async function main() {
|
||||
channels = Object.values(channels)
|
||||
channels = _.sortBy(channels, 'id')
|
||||
|
||||
const filepath = `${PUBLIC_DIR}/guides/${key}.xml.gz`
|
||||
const filepath = `${PUBLIC_DIR}/guides/${key}.epg.xml.gz`
|
||||
logger.info(`Creating "${filepath}"...`)
|
||||
const xmltv = generateXMLTV({ channels, programs, date: CURR_DATE })
|
||||
const compressed = await zip.compress(xmltv)
|
||||
|
||||
Reference in New Issue
Block a user