mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
parent
18b6fbae7a
commit
fec1609e33
1 changed files with 9 additions and 2 deletions
|
@ -29,9 +29,16 @@ module.exports = {
|
|||
const start = parseStart($item)
|
||||
const duration = parseDuration($item)
|
||||
const stop = start.add(duration, 'm')
|
||||
let title = parseTitle($item)
|
||||
let sub_title = parseSubTitle($item)
|
||||
if (title === 'Movie') {
|
||||
title = sub_title
|
||||
sub_title = null
|
||||
}
|
||||
|
||||
programs.push({
|
||||
title: parseTitle($item),
|
||||
sub_title: parseSubTitle($item),
|
||||
title,
|
||||
sub_title,
|
||||
description: parseDescription($item),
|
||||
icon: parseIcon($item),
|
||||
category: parseCategory($item),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue