mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update transvision.co.id.config.js
This commit is contained in:
parent
d97efe669d
commit
85bef8b2a4
1 changed files with 5 additions and 7 deletions
|
@ -31,15 +31,13 @@ module.exports = {
|
|||
const programs = []
|
||||
const items = parseItems(content)
|
||||
for (const item of items) {
|
||||
const title = parseTitle(item)
|
||||
const prev = programs[programs.length - 1]
|
||||
const start = parseStart(item, date)
|
||||
const duration = parseDuration(item)
|
||||
const stop = start.add(duration, 'm')
|
||||
const description = parseDescription(item)
|
||||
|
||||
if (prev) prev.stop = start
|
||||
const stop = start.add(30, 'm')
|
||||
programs.push({
|
||||
title,
|
||||
description,
|
||||
title: parseTitle(item),
|
||||
description: parseDescription(item),
|
||||
start,
|
||||
stop
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue