mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update tvtv.us.config.js
Added program icons
This commit is contained in:
parent
93746cf20e
commit
39781e420d
1 changed files with 5 additions and 1 deletions
|
@ -20,12 +20,16 @@ module.exports = {
|
|||
items.forEach(item => {
|
||||
const start = dayjs.utc(item.listDateTime)
|
||||
const stop = start.add(item.duration, 'm')
|
||||
const icon = item.showPicture
|
||||
? `https://cdn.tvpassport.com/image/show/480x720/${item.showPicture}`
|
||||
: null
|
||||
programs.push({
|
||||
title: item.showName,
|
||||
description: item.description,
|
||||
category: item.showType,
|
||||
start: start.toString(),
|
||||
stop: stop.toString()
|
||||
stop: stop.toString(),
|
||||
icon
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue