mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 13:56:51 -04:00
Replaces icon with image
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
programs.push({
|
||||
title: item.title,
|
||||
description: item.shortSynopsis,
|
||||
icon: parseIcon(item),
|
||||
image: parseImage(item),
|
||||
category: item.tags,
|
||||
season: item.season,
|
||||
episode: item.episode,
|
||||
@@ -59,7 +59,7 @@ function parseStop(item) {
|
||||
return dayjs(item.published.end)
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
function parseImage(item) {
|
||||
return item.posterImage ? item.posterImage + '?form=epg-card-6' : null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user