mirror of
https://github.com/iptv-org/epg
synced 2026-04-28 13:37:01 -04:00
Added image to sky.com
This commit is contained in:
@@ -28,13 +28,18 @@ module.exports = {
|
||||
schedule.events.forEach(event => {
|
||||
const start = dayjs.utc(event.st * 1000)
|
||||
if (start.isSame(date, 'd')) {
|
||||
const image = `https://images.metadata.sky.com/pd-image/${event.programmeuuid}/16-9/640`
|
||||
programs.push({
|
||||
title: event.t,
|
||||
description: event.sy,
|
||||
season: event.seasonnumber,
|
||||
episode: event.episodenumber,
|
||||
start,
|
||||
stop: start.add(event.d, 's')
|
||||
stop: start.add(event.d, 's'),
|
||||
icon: {
|
||||
src: image
|
||||
},
|
||||
image,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user